hugo-theme-terminal/layouts
Joel Knight ce97879d6c Import shortcode to activate PrismJS plugins
The shortcode takes named parameters that are relevant to the PrismJS
plugins that Terminal bundles.

- lang: the language contained in the code block
- line: the line number(s) to highlight
- line-numbers: displays line numbers in the margin
- command-line: activates the command-line plugin which modifies the
output to show a command line
- user: the username to display in the prompt (used with the command-line
parameter)
- host: the hostname to display in the prompt (used with the
command-line parameter)
- prompt: override the default prompt (used with the command-line
parameter)
- output: specifies which line(s) contain CLI output (used with the
command-line parameter)

Example:

{{< prismjs lang="bash" line="1,10-13" line-numbers="true"
command-line="true" host="jump1" user="joel" output="2-9" >}}
2020-01-08 21:43:39 -07:00
..
_default Add param to set default size for headings 2020-01-05 10:44:58 +01:00
partials Merge pull request #72 from MoritzFago/fix-atribution 2019-08-24 08:06:18 +02:00
shortcodes Import shortcode to activate PrismJS plugins 2020-01-08 21:43:39 -07:00