Okay :) In the meantime I decided to circumvent the problem: I wrote a short script that looks for //// and replaces it with a ifdef::commentblock.
This attribute can then be set in the .conf file and the blocks are displayed ^^ So my problem is resolved. Nonetheless: Thanks again! On Dec 17, 9:15 am, Anders Nawroth <[email protected]> wrote: > Hi! > > > However, Comment blocks are not affected. > > Is there an easy way to display those as well? > > None that I know about. But I'm new to asciidoc ... > > /anders > > > > > > > > > > > On Dec 14, 11:38 pm, Anders Nawroth<[email protected]> wrote: > >> Hi! > > >> You can use the the showcomments attribute, > >> see:http://www.methods.co.nz/asciidoc/userguide.html#X25 > > >> I'm using that with a2x to go asciidoc->docbook->xhtml, and then the > >> comment gets the class "remark" applied. In my case, I added a yellow > >> background to highlight the comments using CSS, > >> see:http://docs.neo4j.org/annotated/#_how_to_make_backups_in_embedded_mode > > >> Here's the asciidoc source of that > >> content:https://svn.neo4j.org/documentation/manual/trunk/operations/backup.txt > > >> This is a very useful feature in my opinion! > > >> /anders > > >> 2010-12-14 21:31, talanis skrev: > > >>> Hello, > > >>> I have been using asciidoc for quite some time and am now writing my > >>> first custom .conf file. > >>> One feature I have to set up is the Outputting of Comments (some > >>> people think it's a good idea being able to see all comments in html > >>> by simply using another .conf file). > > >>> The easiest way to realize this seems to be with: > >>> [replacements] > >>> //=" " > >>> ////=" " > > >>> However, this does not work, nor does any kind of escaping the //. > > >>> Do you guys have any ideas? > >>> Thanks a lot! -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
