I am using the source-highlight filter and the xhtml backend of asciidoc to output the single-page html version of the documentation, because the highlighted source looks great.
source-highlight, in that case, outputs html directly, which is included then by asciidoc in the final doc. I was wondering if it's possible to filter the html once again after the source-highlight pass, and replace a pattern corresponding to the generated html for the callout numbers, by the html to display the same callout pictures used with the docbook backend (black circles) ? It would greatly improve the look and feel of the callout lists with the xhtml backend. Any ideas of the best way to do that ? on my machine (but I suppose this is specific to the configuration and version of source- highlight), the callout numbers generate the following html code (to be replaced): <span style="color: #990000"><</span><span style="color: #993399">1</span><span style="color: #990000">></span> I'd like this to be changed to: <img src="./callouts/1.png" alt="1" border="0" /> And even better, later, i'd try to make the cross-reference links between the callout and the callout-list definition work. Thanks for hints, Lionel -- 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.
