Creat github style ID headers
For headers with spaces in them, github puts -
character between the words while marked concatinate them without s
separator
For example:
a b c d
will have an id a-b-c-d
in github
and abcd
in marked, is it possible to have a settings
for that ? I really like marked to produce me html as close as
github's
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 10 Jan, 2013 01:44 PM
This isn't possible with the current MultiMarkdown processor that Marked uses, but you should be able to set up Docter to get exact github output.
https://github.com/alampros/Docter
-Brett
2 Posted by aviram on 10 Jan, 2013 02:30 PM
I'll check that out.
For now I just using github API (that could be a nice feature for Marked for future release)
Created a script called
gfm.sh
withIts a little slower but it works