Skip to content
Closed
GHANONTEST opened this Issue Jun 24, 2012 · 3 comments

3 participants

@GHANONTEST

.

@zauguin zauguin added a commit to zauguin/markdown-js that referenced this issue Jun 26, 2012
@zauguin zauguin Added jQuery support #56
Now you can say e.g. jQuery("div.markdown").markdown()
280ff2c
@ashb
Collaborator
ashb commented Jun 29, 2012

Closing this as #57 has a pull request - it'll come soon.

@ashb ashb closed this Jun 29, 2012
@ashb
Collaborator
ashb commented Jun 29, 2012

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.

@zauguin
zauguin commented Jun 29, 2012

The static function is ready.
Have you already tested the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.