
The options are the same as in the highlighting shortcode,including linenos=false, but note the slightly different Markdown attribute syntax. See goldmark-highlighting for more information. Note that only Goldmark supports passing attributes such as hl_lines, and it’s important that it does not contain any spaces. If an unknown or empty style is provided, AP style is what you get.įunc GetTitleFunc ( style string ) func ( s string ) string GetTitleFunc returns a func that can be used to transform a string to
QBASIC QBLOCKS CODE
The code tag will get a class with name code-inline.

Valid values are true, false, table, or inline. Note that highlight is not used for client-side javascript highlighting. It takes exactly one required parameter for the programming language to be highlighted and requires a closing shortcode. Highlighting is carried out via the built-in highlight shortcode. Run hugo gen chromastyles -h for more options. Hugo gen chromastyles -style =monokai > syntax.css
