Spaces in heading IDs
Hello all,
For friendly-link and SEO I’d like to replace spaces in <h#> IDs with hyphens instead of simply getting stripped out. Is this possible?
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 16 Sep, 2014 05:52 PM
You can do two things. If you use the Discount (GFM) processor, you'll
get that automatically. If you're using MultiMarkdown, you can use
[header-id] to define your own ids.
## This is my header [this-is-my-header]
Will turn into the header with an id of "this-is-my-header"
-Brett
2 Posted by benthinkin on 16 Sep, 2014 05:59 PM
Worked like a charm. Thanks!