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

pioul/Minimalist-Online-Markdown-Editor: This is the simplest and slickest onlin ...

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

开源软件名称(OpenSource Name):

pioul/Minimalist-Online-Markdown-Editor

开源软件地址(OpenSource Url):

https://github.com/pioul/Minimalist-Online-Markdown-Editor

开源编程语言(OpenSource Language):

JavaScript 63.1%

开源软件介绍(OpenSource Introduction):

Minimalist Online Markdown Editor

This is the source for the simplest and slickest online Markdown editor, available online here: http://markdown.pioul.fr
Just write Markdown and see what it looks like as you type. And convert it to HTML in one click.

The Minimalist Markdown Editor project

The Minimalist Markdown Editor project is available both online as a web app, and offline and with file support as a Chrome app:

Contributing

Building

  1. Ensure that Node.js is installed, and open a terminal in the project's root directory.
  2. Run npm install to install the project's developement dependencies.
  3. Run npm run build to build the web app. The builds will be placed in the dist/ directory.

Note: Building should only be necessary if you think about contributing. If you want to run one of the apps, hit one of the links above.

Git workflow

The two project branches share a decent amount of code. This common source code sits in app-shared/ in each of these repos. As you can see from the commit history, changes to files in- and outside of app-shared/ are committed separately to help with cherry-picking the common source changes from the other repo afterward.

E.g. You've made changes to src/css/main.css and src/app-shared/css/main.css. Since changes have been made to files in- and outside of app-shared/, instead of committing all changes at once, make two commits:

  1. The first one will be called "[app-shared] commit_message", and will commit changes to src/app-shared/css/main.css.
  2. The second one will be called "commit_message", and will commit changes to src/css/main.css.

If changes had only been made to src/css/main.css, then there would've been no need for the first commit. And if changes had only been made to src/app-shared/css/main.css, there would've been no need for the second commit.

That's really all there is to know about this project's Git workflow, so fork away!

Target env

We aim at compatibility down to IE9.

The source for this app is currently authored in ES5, with ES5 polyfills when needed. I'm thinking about authoring in ES6+ and transpiling + polyfilling, but that'd require lots of carefully picked ES6+ polyfills to run in most browsers, so I'm waiting for a good reason to do so.




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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