aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-12-31 20:28:27 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-12-31 20:28:27 +0800
commitecb7935896012da551255711edb1b6e381948c2f (patch)
tree578130ac12d2e9e0df1c1878af27108b03a257a0 /src/js
parentb583f811d658d507335487d1054d2961e3273e2a (diff)
feat(flowchart): support keyword `flow`
Closes #113
Diffstat (limited to 'src/js')
-rw-r--r--src/js/even.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/even.js b/src/js/even.js
index a2cee48..8f8497a 100644
--- a/src/js/even.js
+++ b/src/js/even.js
@@ -221,7 +221,7 @@ Even._linkToc = function() {
Even.flowchart = function() {
if (!window.flowchart) return;
- const blocks = document.querySelectorAll('pre code.language-flowchart');
+ const blocks = document.querySelectorAll('pre code.language-flowchart, pre code.language-flow');
for (let i = 0; i < blocks.length; i++) {
if (!window.hljs && i % 2 === 0) continue;