Issue #30 new
Beau Smith created an issue

If headings have ids (auto-generated and/or manually defined) then these headings on the page can be linked to (eg. http://domain.com/path/to/readme.md#heading-id)

Some parsers have options/flags to enable "auto ids", others additionally support block attributes http://kramdown.gettalong.org/quickref.html#block-attributes

See example using various markdown parsers. Not all implement this feature:
http://johnmacfarlane.net/babelmark2/?normalize=1&text=%23+heading%0A%0A%23+heading+with+id+and+class%0A%7B%3A+%23custom-id+.custom-class%7D%0A

Syntax for this feature in Kramdown
http://kramdown.gettalong.org/quickref.html#block-attributes

Comments (3)

  1. TheresaH

    Hi @beausmith ,

    Thanks for your input and your implementation suggestions.
    Would you mind, telling us, which plugin version you are using?

    Regards

    Theresa

  2. Beau Smith reporter

    Version 1.2.5 (this is not selectable in the "Version" select on the "Edit Issue" screen)

  3. Log in to comment