hide mermaid code on website
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank 2019-02-20 15:10:43 +01:00
parent 1f71e0467f
commit a36b0e21c9
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3
2 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,7 @@ graph TD
<script defer>
window.onload = function() {
mermaid.init(undefined,$("code.language-mermaid"));
$("code.language-mermaid").css("visibility", "visible");
};
</script>

View File

@ -268,4 +268,8 @@ pre {
padding: 5px;
border-radius: 5px;
margin-bottom: 25px;
}
code.language-mermaid {
visibility: hidden;
}