md2ftml
v0.1.0
Published
Convert markdown to FTML (Wikidot text)
Downloads
3
Readme
MD2FTML Parser
MD2FTML repository adopts monorepo strategy, and you are now in the parser repo. The parsers try to follow GFM (GitHub Flavored Markdown) spec and standard wikidot syntax. Note that some features in GFM (like tasks) is not supported in Wikidot, hence not added, while some rules conflicts, like how paragraph works on each side.
mdParser.js
This parser library converts Markdown text to FTML (Wikidot Text) one.
Supported features
- [x] Headings
- [x]
#
syntax - [x]
----
and====
syntax
- [x]
- [x] Horizontal Rules
- [x] Bold Text
- [x] Italic Text
- [x] Strikethrough
- [x] Inline Code
- [x] Code Block
- [x]
```
syntax - [x]
~~~
syntax - [ ] ~~indent syntax (4 spaces or tabs before code)~~ (abandoned)
- [x]
- [x] Blockquotes (natively supported, same syntax on each side)
- [x] Link
- [x] Image
- [x] List
- [x] Ordered List
- [x] Unordered List
- [x] Table
- [x] Link Reference (footnotes)
- [x] HTML tags (replace wikidot's
[[]]
syntax with HTML<>
) - [x] Escape (wrap content in
!!!
to escape parsing)
ftmlParser.js
This parser library converts FTML to Markdown text, which is planned but not currently in progress.