When you import Markdown, Flare converts
## This is a Heading Two
to
<h2 id="this-is-a-heading-two">This is a Heading Two</h2>
If I wanted to link to that part of the topic from another imported Markdown file, what would I put in the Markdown, so that when both files were imported, the link would work?
Markdown links to external bookmarks
-
- Sr. Propeller Head
- Posts: 103
- Joined: Thu Sep 11, 2014 2:06 am
Re: Markdown links to external bookmarks
Use [Link text](#identifier) - Flare's help has links to the supported markdown syntax:
https://www.markdownguide.org/extended- ... eading-ids
https://www.markdownguide.org/extended- ... eading-ids
-
- Sr. Propeller Head
- Posts: 103
- Joined: Thu Sep 11, 2014 2:06 am
Re: Markdown links to external bookmarks
That may well work within a topic, but I'm not managing to get it to work when the link is in one MD file and the destination is in another. Flare's import doesn't seem to be able to cope with that, at least not with the variants I've tried. Also, it converts the destination bookmark (as in my post above) to an ID, and that's no good for PDF output. That wants the destination to be marked with an <A name="dest_name" /> instead.