MarkMyWords icon indicating copy to clipboard operation
MarkMyWords copied to clipboard

Github Flavoured Markdown

Open emersion opened this issue 10 years ago • 8 comments

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

emersion avatar Jan 08 '15 18:01 emersion

Note that the two remaining points can be solved by passing the corresponding options to discount

emersion avatar Feb 03 '15 20:02 emersion

which flags? i'll add them :smile_cat:

voldyman avatar Feb 04 '15 02:02 voldyman

  • MKD_AUTOLINK for autolinking (see http://www.pell.portland.or.us/~orc/Code/discount/#Url.callback.functions)
  • --relaxed-emphasis for underscores (see https://github.com/Orc/discount/blob/d3d5afae552a94cdd694a56efca25868f1a702b1/Plan9/README)

emersion avatar Feb 04 '15 15:02 emersion

--relaxed-emphasis is not available

https://github.com/Orc/discount/blob/d3d5afae552a94cdd694a56efca25868f1a702b1/configure.sh#L10

voldyman avatar Feb 05 '15 12:02 voldyman

In the doc, they say it's enabled with --enable-all-features

emersion avatar Feb 05 '15 17:02 emersion

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)

emersion avatar Feb 05 '15 17:02 emersion

And it's not -frelax, it's (intuitively?) -femphasis !

Orc avatar Feb 05 '15 22:02 Orc

oh hai @Orc, i was in the middle of writing an email to you :smile:

voldyman avatar Feb 06 '15 06:02 voldyman