evilstreak / markdown-js

A Markdown parser for javascript
7.69k stars 863 forks source link

How do you add a custom tag? #128

Open asselinpaul opened 10 years ago

asselinpaul commented 10 years ago

Let's say I want to implement a custom tag.

For example if I type 'Question:', I'd like the text that follows to be blue.

Is that something I'd do in the dialects files or in the parser?

Thanks Paul