Closed GHANONTEST closed 12 years ago
Closing this as #57 has a pull request - it'll come soon.
Writing dialects involves writing a set of matcher functions (at the block level) and patterns+matchers for inline. See https://github.com/evilstreak/markdown-js/blob/master/lib/markdown.js#L184-204
Inline matchers return an array of [ number_of_chars_processed, jsonml ]
. The key in the inline hash is the start characters to look for. Admittedly not the easiest thing without digging a bit I know.
The static function is ready. Have you already tested the code?
.