You're quite right, Fletcher. Thank you for correcting me. :) One thing to keep in mind, Alice, is that Markdown is a superset of HTML, so one is free to write HTML in cases where there is no Markdown-specific equivalent. Using <a name="anchorname"></a> is an option, though not a pretty one.
On 8 July 2015 at 15:15, Fletcher T. Penney <[email protected]> wrote: > 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 > [email protected] > > On Jul 8, 2015, at 5:49 PM, David Chambers <[email protected]> wrote: > > Yes. This is a standard part of Markdown. > > On 8 July 2015 at 14:21, Alice Williams <[email protected]> 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 >> [email protected] >> https://pairlist6.pair.net/mailman/listinfo/markdown-discuss >> >> > _______________________________________________ > Markdown-Discuss mailing list > [email protected] > https://pairlist6.pair.net/mailman/listinfo/markdown-discuss > > > > _______________________________________________ > Markdown-Discuss mailing list > [email protected] > https://pairlist6.pair.net/mailman/listinfo/markdown-discuss > >
_______________________________________________ Markdown-Discuss mailing list [email protected] https://pairlist6.pair.net/mailman/listinfo/markdown-discuss
