]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/highlight/discussion.mdwn
reponse about highlight plugin
[ikiwiki.git] / doc / plugins / highlight / discussion.mdwn
index 612fb0fdafa771affe24052f09c37fe107e49ba5..3ae6149bfe7607cc19ffb8544d9715761e0cca72 100644 (file)
@@ -1,3 +1,21 @@
-It would be nice to be able to set a few options for the highlighter object. In particular, today I noticed my tabs were not being expanded correctly, which could 
-be fixed the command line with --replace-tabs but programmatically needs a call to setPreformatting.  I could probably play with this, but what is your preferred way to support 
-options? something like 'highlight_options=>{replace_tabs=>8,line_numbers=>0}' ?  Of course, if you want to implement it I won't complain :-). [[DavidBremner]]
+It would be nice to be able to set a few options for the highlighter
+object. In particular, today I noticed my tabs were not being expanded
+correctly, which could be fixed the command line with --replace-tabs but
+programmatically needs a call to setPreformatting.  I could probably play
+with this, but what is your preferred way to support options? something
+like 'highlight_options=>{replace_tabs=>8,line_numbers=>0}' ?  Of course,
+if you want to implement it I won't complain :-). [[DavidBremner]]
+
+> I don't know about tab replacement, which I can't really see the point
+> of, but if there are multiple options, giving each its own nane would
+> word better for websetup than would putting all the options in a
+> sub-hash. --[[Joey]] 
+
+
+Has anyone got this running with CentOS/RHEL ?   
+Having trouble working out where to get the perl bindings for highlight. --[Mick](http://www.lunix.com.au)  
+
+> The perl bindings are hidden in `examples/swig` in highlight's source.
+> --[[Joey]] 
+
+Thanks for prompt reply. Now just need to work out how to get it to work with inline code. I can not find the 'format' plugin to enable it. --[Mick](http://www.lunix.com.au)