mirror of
https://github.com/divnix/digga.git
synced 2024-12-23 08:02:21 +03:00
deploy: 5657ddf3c1
This commit is contained in:
parent
ee6ac56f64
commit
88e6e1e03a
4
book.js
4
book.js
@ -169,9 +169,9 @@ function playground_text(playground) {
|
||||
Array
|
||||
code_nodes
|
||||
.filter(function (node) {return !node.classList.contains("editable"); })
|
||||
.forEach(function (block) { hljs.highlightElement(block); });
|
||||
.forEach(function (block) { hljs.highlightBlock(block); });
|
||||
} else {
|
||||
code_nodes.forEach(function (block) { hljs.highlightElement(block); });
|
||||
code_nodes.forEach(function (block) { hljs.highlightBlock(block); });
|
||||
}
|
||||
|
||||
// Adding the hljs class gives code blocks the color css
|
||||
|
Loading…
Reference in New Issue
Block a user