I was at blogspot and got tired of the limited and awkward functionality. I want to do my blog posts in markdown for ease and portability. In wordpress, doing an entire post inside a markdown block seems to be most of what I want. I think the biggest remaining thing is linkable section headers. I want to be able to link to headers in the markdown block with `[display text](#name-of-anchor-for-header)` but I have not figured out a way to do it.
I can’t do `# Linkable Section 1 {:#linkable-section-1}` like [this]) says. I can’t get embedded HTML to work, so `# Linkable Section 2<a name=”linkable_section_2″></a>` does not work. Section headers by themselves also do not generate ids to link to (unlike GitHub).
Doing a header block with a HTML anchor does work, but then that means interleaving markdown and non-markdown blocks, and I was hoping for pure markdown.
shows the results of my attempts.
How can I get linkable headers within a markdown block?
[ad_2]