1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge branch 'master' into fix-mermaid-height

This commit is contained in:
Baptiste Augrain
2018-12-24 10:06:15 +01:00
94 changed files with 221439 additions and 736 deletions

View File

@@ -26,7 +26,7 @@ function render (element, content, theme) {
if (isPredefined) {
element.style.height = height.value + 'vh'
}
let isDarkTheme = theme === 'dark' || theme === 'solarized-dark' || theme === 'monokai' || theme === 'dracula'
const isDarkTheme = theme === 'dark' || theme === 'solarized-dark' || theme === 'monokai' || theme === 'dracula'
mermaidAPI.initialize({
theme: isDarkTheme ? 'dark' : 'default',
themeCSS: isDarkTheme ? darkThemeStyling : '',