does fireball markdown support anchor links?
Fletcher T. Penney
fletcher at fletcherpenney.net
Wed Jul 8 18:15:35 EDT 2015
Perhaps I misunderstood the original question, but on the chance I was correct….
I think the problem is not creating the link [link text](#anchor) which is standard Markdown, but rather having something to link *to*.
For example:
# Heading #
This will create an active link to the [heading](#heading).
If this is what you meant, then this was something I added to MultiMarkdown and I imagine other implementations have also done similar things (and GFM is one of them). I called them "cross-references", but I'm sure others called them different things as well. In standard Markdown, the above link would not work, as there would not be an anchor target named "#heading".
<http://fletcher.github.io/MultiMarkdown-4/cross-references.html>
If I'm wrong, and David correctly understood your question then just ignore me…. ;)
Fletcher
--
Fletcher T. Penney
fletcher at fletcherpenney.net
On Jul 8, 2015, at 5:49 PM, David Chambers <dc at davidchambers.me> wrote:
> Yes. This is a standard part of Markdown.
>
> On 8 July 2015 at 14:21, Alice Williams <awilliams at machinezone.com> wrote:
> Is there a way to get the same HTML anchor links like this:
>
> <a href = "#anchorname">Link text</a>
>
> <a name="anchorname"></a>
>
> the gitlab version of markdown supports these links this way:
>
> [link text](#anchor)
>
> Heading <a name="anchor"></a>
>
> but this does not work with fireball version of markdown.
>
> thanks for any suggestions!
> Alice
>
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> https://pairlist6.pair.net/mailman/listinfo/markdown-discuss
>
>
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> https://pairlist6.pair.net/mailman/listinfo/markdown-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist6.pair.net/pipermail/markdown-discuss/attachments/20150708/1fcb3773/attachment.html>
More information about the Markdown-Discuss
mailing list