mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Add CSS lang argument to code block
Makes the triple-backtick example equivalent to triple-tilde example.
This commit is contained in:
1 parent
85aad56e38
commit
9e7c28276a
1 file changed
+2
-2
@@ -203,7 +203,7 @@ body {
|
|||||||
Here is the same example but with triple back ticks to denote the fenced code block:
|
Here is the same example but with triple back ticks to denote the fenced code block:
|
||||||
|
|
||||||
{{< nohighlight >}}
|
{{< nohighlight >}}
|
||||||
```
|
```css
|
||||||
body {
|
body {
|
||||||
font-family: "Noto Sans", sans-serif;
|
font-family: "Noto Sans", sans-serif;
|
||||||
}
|
}
|
||||||
@@ -234,4 +234,4 @@ Please see individual libraries' documentation for how to implement each of the
|
|||||||
[Rainbow]: http://craig.is/making/rainbows
|
[Rainbow]: http://craig.is/making/rainbows
|
||||||
[Syntax Highlighter]: http://alexgorbatchev.com/SyntaxHighlighter/
|
[Syntax Highlighter]: http://alexgorbatchev.com/SyntaxHighlighter/
|
||||||
[Google Prettify]: https://github.com/google/code-prettify
|
[Google Prettify]: https://github.com/google/code-prettify
|
||||||
[Yandex]: http://yandex.ru/
|
[Yandex]: http://yandex.ru/
|
||||||
Reference in new issue
Block a user