typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 56 forks source link

what markdown engine was typora use ? #315

Closed yurenchen000 closed 7 years ago

yurenchen000 commented 8 years ago

the markdown and syntax highlight worked very well, if it is possible, I want to use them into my blog, in order to get the same looks .

( seems base on atom ? found packages in resources folder )

thanks

balupton commented 7 years ago

Looked into this today.

The popular Rich Text Editors are

However, asking about markdown on prosemirror gave this:

Which provides:

So seems Typora is built off the gfm mode of codemirror - with a lot of custom enhancements - like autocomplete, prettier theming, and hiding of markdown when not needed


HackMD is a pretty collaborative markdown editor that uses these codemirror modes:

and is open-source, so perhaps HackMD could become competition to Typora at one stage

Two others are:

balupton commented 7 years ago

Enquired about drafts support for markdown over at https://github.com/facebook/draft-js/issues/946

balupton commented 7 years ago

found slate today, http://slatejs.org/#/markdown-preview?_k=rnkc07 - it is pretty far along

yurenchen000 commented 7 years ago

@balupton thanks, here is some engine i used

MarkdownExtraExtended

https://michelf.ca/projects/php-markdown/ php implement // at first i use this for several month, meet some error, update 2 times, turn to Parsedown

Parsedown

http://parsedown.org php implement, fast and stable, syntax like GFM and support some feature config // i change to this half year, works fine, still in use

RedCloth

Textile and Markdown Hybrid for Ruby http://whytheluckystiff.net/ruby/redcloth/ ruby implement, syntax like GFM // i found it from redmine src, works fine

abnerlee commented 7 years ago

Typora use its own markdown engine, and try to be compatible with Github Flavored Markdown. You could use GFM for blogging. In most case, user can ignore those difference.

Also see discussion in https://github.com/typora/typora-issues/issues/369

wangz19 commented 6 years ago

I tried to type equations that work well in typora but not work in Github pages

willin commented 6 years ago

how does typora calc word count?