ce97879d6c
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" >}} |
||
---|---|---|
.. | ||
_default | ||
partials | ||
shortcodes |