Description Usage Arguments Value See Also Examples
The highlight
function performs syntax highlighting based on the
results of the parse
and the investigation
of a detective.
1 2 |
x |
code to highlight. Read from 'file' if supplied |
detective |
function used to assign styles to tokens |
file |
code file |
header |
header |
footer |
footer |
... |
extra parameters for the detective |
The formatted text, surrounded by 'header' and 'footer'
[lestrade()] and [sherlock()] for examples of detectives
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.