• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

rvagg/archived-morkdown: A simple Markdown editor

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

rvagg/archived-morkdown

开源软件地址(OpenSource Url):

https://github.com/rvagg/archived-morkdown

开源编程语言(OpenSource Language):

JavaScript 66.5%

开源软件介绍(OpenSource Introduction):

Morkdown

A beautifully simple editor for Markdown documents

NPM

Morkdown is primarily designed to render GitHub Flavored Markdown (GFM), so it's ideal for your README.md. When rendering the Markdown, it uses the same syntax highlighter as GitHub (the Python Pygments library) and the styling is near identical to GitHub. Markdown content is parsed using [marked]marked(via brucedown), a JavaScript Markdown parser capable of parsing GFM.

WOW!!!

Morkdown editing the LevelUP README

Morkdown is a Google Chrome App coupled to a Node server and uses CodeMirror for the editor panel.

GFM you say?

Morkdown editing the LevelUP README with the "monokai" theme

Morkdown will automatically save your document as you edit it.

Themes

Morkdown is packaged with the standard CodeMirror themes, you can switch to a different theme with the --theme <themename> commandline argument:

  • ambiance
  • ambiance-mobile
  • blackboard
  • cobalt
  • eclipse
  • elegant
  • erlang-dark
  • lesser-dark
  • midnight
  • monokai
  • neat
  • night
  • rubyblue
  • solarized
  • twilight
  • vibrant-ink
  • xq-dark
  • xq-light

The default theme is neat but you can set your own default theme by saving a JSON file in your home directory named .morkdownrc with the following content: { "theme": "themename" }. (My theme of choice is monokai).

Installing & Using

You'll need Google Chrome of course, plus you'll need a python interpreter on your system to get the syntax highlighting working—which should be fine for Linux and Mac users. Getting it running on Windows might be a little tricky (but presumably not impossible!).

You can install from npm, the Node.js package manager, with npm install -g morkdown (you may need to sudo that depending on your setup). Once installed you can simply run the morkdown <path to file.md> command and you're away!

If you want to use an editor of your choice, launch morkdown with a watch flag, e.g. morkdown -w <path to file.md> and morkdown will re-render the output in the browser when the file is saved locally.

Contributors

morkdown is brought to you by the following hackers:

Licence & Copyright

Morkdown is Copyright (c) 2013 Rod Vagg <@rvagg> and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.

Morkdown contains remnants of me, which is Copyright (c) 2013 Julian Gruber [email protected] and licenced under the MIT licence.rubyblue.css




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
olivierlacan/keep-a-changelog: If you build software, keep a changelog.发布时间:2022-08-18
下一篇:
Elephorm-tp-git/Realtime-Markdown-Viewer发布时间:2022-08-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap