MarkMyWords
MarkMyWords copied to clipboard
Github Flavoured Markdown
See https://help.github.com/articles/github-flavored-markdown/
- [x] Multiple underscores in words?
- [ ] URL autolinking
- [x] Strikethrough
- [x] Fenced code blocks (see #25)
- [x] Syntax highlighting (see #25, #27)
- [x] Tables
- [x] HTML
Note that the two remaining points can be solved by passing the corresponding options to discount
which flags? i'll add them :smile_cat:
MKD_AUTOLINKfor autolinking (see http://www.pell.portland.or.us/~orc/Code/discount/#Url.callback.functions)--relaxed-emphasisfor underscores (see https://github.com/Orc/discount/blob/d3d5afae552a94cdd694a56efca25868f1a702b1/Plan9/README)
--relaxed-emphasis is not available
https://github.com/Orc/discount/blob/d3d5afae552a94cdd694a56efca25868f1a702b1/configure.sh#L10
In the doc, they say it's enabled with --enable-all-features
It's obsolete; relaxed emphasis is now a runtime flag (MKD_NORELAX to disable it; -frelax, -f!relax, -fnorelax to the markdown program.) The documentation, including online, is a bit out of date and is in the throes of being updated.
So it's enabled by default.
(See https://github.com/Orc/discount/issues/117#issuecomment-73086693)
And it's not -frelax, it's (intuitively?) -femphasis !
oh hai @Orc, i was in the middle of writing an email to you :smile: