• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
Item7851 for doc work on
extensions that are not part of a release.
More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
• Does this site look broken?. Use the LitterTray web for test cases.
Item7035: SyntaxHighlightingPlugin with number step support
Item Form Data
AppliesTo: |
Component: |
Priority: |
CurrentState: |
WaitingFor: |
TargetRelease |
ReleasedIn |
Extension |
SyntaxHighlightingPlugin |
Enhancement |
Closed |
|
n/a |
|
Detail
With "number step" suppport, codes can be rendered like below:
01000 #!/bin/sh
01010 list_syntax=`enscript --help-highlight | grep 'Name:' | cut -d ' ' -f 2`
01020 for l in $list_syntax; do
01030 cat << EOF
01040 * $l
01050 EOF
01060 done
And add one more handler on "SYNTAX...ENDSYNTAX" to make it compatible with its older version.
--
TWiki:Main/YaojunFei
- 2012-11-13