Help:Editing: Difference between revisions
mNo edit summary |
m Reword syntaxhighlight usage |
||
Line 50: | Line 50: | ||
* <code>lang="nix"</code> can be used to highlight Nix expressions. | * <code>lang="nix"</code> can be used to highlight Nix expressions. | ||
* <code>lang="html+handlebars"</code> may be used to highlight wikitext. | * <code>lang="html+handlebars"</code> may be used to highlight wikitext. | ||
* For console snippets | * For console snippets use <code>lang="console"</code>. <tt>root</tt> prompts are conventionally indicated with {{ic|#}}, while non-root prompts look like {{ic|$}}. <code>lang="console"</code> highlights such prompts correctly, while <code>lang="bash"</code> treats {{ic|#}} as the beginning of a comment, as it is intended for scripts. | ||
== Using <code><cite /></code> == | == Using <code><cite /></code> == |