Am Sonntag, 14. September 2014 02:04:51 UTC+2 schrieb Lex Trotman:
>
> [...]
> > I am somewhat confused. I want those anchors on the chapters theirselfs
> and
> > not the TOC. Why do I need to change the JS file?
>
> I was thinking it might be easier to have the Javascript add the
> elements, but you can do it the boring way too. :)
>
> Copy [sect1] through [sect5] in xhtml11.conf and html5.conf, modify
> one copy to include your new markup and choose between the modified
> and unmodified sections using an attribute (for example {pilcrow}) so
> that by default existing documents don't change. Create a pilcrow.css
> with your css in it and optionally include it in the [heading] section
> using the same attribute (just before the {stylesheet} css is included
> so users can modify the styling if they want to).
>
>
Thanks, that looks promising. This is worth sharing with everyone by
default. Can we add this by default to the HTML5 output?
I would try to do the modifications next week and open a PR for that.
Michael
--
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.