mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:30 -06:00
feat: Dark/Light Theme support for code blocks
This commit is contained in:
@@ -77,7 +77,7 @@ block content
|
||||
h1.title#title= pageData.meta.title
|
||||
if pageData.meta.subtitle
|
||||
h2.subtitle= pageData.meta.subtitle
|
||||
.content.mkcontent(v-pre)
|
||||
.content.mkcontent(v-pre, class=[appconfig.theme.code.dark ? 'is-code-dark' : 'is-code-light'])
|
||||
!= pageData.html
|
||||
|
||||
modal-create-page(basepath=pageData.meta.path)
|
||||
|
||||
Reference in New Issue
Block a user