syntax_highlighting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax_highlighting [2018-04-30 12:37] – andi | syntax_highlighting [2022-07-07 11:47] (current) – document enable_keyword_links="false" 130.112.1.3 | ||
---|---|---|---|
Line 5: | Line 5: | ||
Starting with DokuWiki release " | Starting with DokuWiki release " | ||
- | * Enable line numbers | + | * Enable line numbers: '' |
- | * Start line numbers at line **n** | + | * Start line numbers at line **n**: '' |
- | * Highlight certain lines extra | + | * Highlight certain lines extra: '' |
+ | * Disable keyword linking to appropriate documentation: | ||
- | All options are set by adding some key-value pairs to the standard '' | + | All options are set by adding some key-value pairs to the standard '' |
+ | |||
+ | <code languagecode [key=" | ||
+ | |||
+ | The following examples explain their usage. | ||
===== Examples ===== | ===== Examples ===== | ||
Line 73: | Line 78: | ||
</ | </ | ||
+ | |||
+ | Some languages has keywords that link to appropriate documentation. This can be disabled: | ||
+ | <code C [enable_keyword_links=" | ||
+ | void main () { | ||
+ | printf (" | ||
+ | exit 0; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | This is the result: | ||
+ | |||
+ | <code C [enable_keyword_links=" | ||
+ | void main () { | ||
+ | printf (" | ||
+ | exit 0; | ||
+ | } | ||
+ | </ |
syntax_highlighting.1525084653.txt.gz · Last modified: 2018-04-30 12:37 by andi