master
Joey Hess 2009-06-14 17:34:05 -04:00
parent 1d38a99874
commit 0b2e512d36
1 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,12 @@
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]]