On Fri, Dec 3, 2010 at 1:11 PM, Ramiro Magno <ramiro.ma...@gmail.com> wrote:
> just wondering, has any of you made a html template that redefines(?)
> the pre tag to something that would have syntax highlighting
> I really dont know html so don't curse me if I'm asking something
> impossible. For me it would be really nice to get all the verbatim
> formatted text of my zim pages translated to some syntax highlighted
Current template engine does not allow you to redefine tags. So will
need some manual work or a post-processing script.
2/ for blocks that you want highlighted in the output add some tag to mark them
3/ write a small script that goes over the HTML and replaces the tag
by a special class attribute in the <pre> tag
To fully automate this from zim we need a plugin that does the HTML
post-processing on the fly. Anyone who would like to work on that ?
Please put the request also in the bug tracker for future reference.
Mailing list: https://launchpad.net/~zim-wiki
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zim-wiki
More help : https://help.launchpad.net/ListHelp