Am Sonntag, 14. September 2014 13:29:33 UTC+2 schrieb Lex Trotman: > > On 14 September 2014 20:28, Michael-O <[email protected] <javascript:>> > wrote: > > > > > > 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. > > Certainly make a PR. Making it the default is a question, that will > change existing documents. Maybe we can add it as an option until the > next reasonably major version change where other breaking changes > occur, when it can be default. > > thanks, I will have a look at the conf files first and how ascidoctor and the provided reference do it. I will reply when I will have some working patch.
-- 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.
