]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/highlight/discussion.mdwn
Merge commit 'smcv/img-bugfix'
[ikiwiki.git] / doc / plugins / highlight / discussion.mdwn
1 It would be nice to be able to set a few options for the highlighter
2 object. In particular, today I noticed my tabs were not being expanded
3 correctly, which could be fixed the command line with --replace-tabs but
4 programmatically needs a call to setPreformatting.  I could probably play
5 with this, but what is your preferred way to support options? something
6 like 'highlight_options=>{replace_tabs=>8,line_numbers=>0}' ?  Of course,
7 if you want to implement it I won't complain :-). [[DavidBremner]]
8
9 > I don't know about tab replacement, which I can't really see the point
10 > of, but if there are multiple options, giving each its own nane would
11 > word better for websetup than would putting all the options in a
12 > sub-hash. --[[Joey]]