]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/highlight/discussion.mdwn
ikiwiki (3.20130711) unstable; urgency=low
[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]] 
13
14
15 Has anyone got this running with CentOS/RHEL ?   
16 Having trouble working out where to get the perl bindings for highlight. --[Mick](http://www.lunix.com.au)  
17
18 > The perl bindings are hidden in `examples/swig` in highlight's source.
19 > --[[Joey]] 
20
21 Thanks for prompt reply.All working. I will post on my site tonight and link here what I did on CentOS to make this work. --[Mick](http://www.lunix.com.au) 
22
23 Any hint on how to highlight actual mdwn or any other supported markup code? -- [wiebel](http://wiebels.info)