On Sun, 26 Apr 2015, Alex Efros wrote:

On Fri, Apr 24, 2015 at 10:05:58PM +0300, Alex Efros wrote:
footnote links don't work.

At a glance this is because footnotes generate <div id=> and "id"
attribute isn't in list of attributes allowed on github:
https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/sanitization_filter.rb

Another workaround is to add <a name=> manually to each footnote:

   ...
   feedback welcome.footnoteref:[meta,+++<a name=_footnote_1></a>+++You can
   ...
   level, etc.footnote:[+++<a name=_footnote_2></a>+++In 1874 Cantor
   ...

Thanks for the workaround Alex, but I really don't want to hand-code my footnotes, which I use a lot. I chose AsciiDoc over Markdown on GitHub because GitHub-flavored Markdown does not support footnotes. Now I'm becoming an AsciiDoc fan for lots of reasons other than just footnotes!

Thanks again for your cheatsheet,
Nancy

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to