markdown-js icon indicating copy to clipboard operation
markdown-js copied to clipboard

document how to create a dialect

Open shaunc opened this issue 10 years ago • 1 comments

The current documentation refers to the code for detailed API docs.

I looked at the code, including the existing dialects, and IMHO the comments don't really explain how to create a dialect. Are there any pointers (besides reading the code) that could help me out? Any info (including comments on this issue) would be welcome.

Thanks!

shaunc avatar Jul 26 '15 06:07 shaunc

I am looking for the same thing. So +1.

@shaunc: Here is a link to a dialect for the chat system discourse that uses (I think) a fork of markdown-js with dialects: https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/dialects/mention_dialect.js

I'm trying to figure this out as well, so perhaps we can help each other out.

ezmiller avatar Aug 31 '15 08:08 ezmiller