mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Add CSS lang argument to code block
Makes the triple-backtick example equivalent to triple-tilde example.
This commit is contained in:
committed by
digitalcraftsman
parent
85aad56e38
commit
9e7c28276a
@@ -203,7 +203,7 @@ body {
|
||||
Here is the same example but with triple back ticks to denote the fenced code block:
|
||||
|
||||
{{< nohighlight >}}
|
||||
```
|
||||
```css
|
||||
body {
|
||||
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
|
||||
[Syntax Highlighter]: http://alexgorbatchev.com/SyntaxHighlighter/
|
||||
[Google Prettify]: https://github.com/google/code-prettify
|
||||
[Yandex]: http://yandex.ru/
|
||||
[Yandex]: http://yandex.ru/
|
||||
|
||||
Reference in New Issue
Block a user