Hi!

On Fri, Apr 24, 2015 at 01:28:22PM -0500, NM Public wrote:
> It would be really useful if you could add a section about footnotes.

I doubt it's possible to show how footnotes work in cheatsheet because
they probably will be rendered at bottom of cheatsheet instead of their
"example" place.

> 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

I think if asciidoctor will use <a name=> instead of <div id=> then
footnote links will work. Probably this can be implemented in UserJS, but
this is hardly good solution for this issue - it's unlikely readers of
your gists will have this UserJS installed.

> Does anyone know if this footnote problem is a problem specific 
> to Gists or is it a general GitHub-Flavored AsciiDoc problem?

BTW, I forget about gists - it may make sense to test cheatsheet there
too, because wiki differs from files, so gists may differs too. :(

-- 
                        WBR, Alex.

-- 
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