syntax highlight + TOC scroll + other content parsing improvements
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
nav.nav.has-shadow
|
||||
nav.nav.has-shadow.stickyscroll
|
||||
.nav-left
|
||||
a.nav-item.is-brand(href='/')
|
||||
img(src='/favicons/android-icon-96x96.png', alt='Wiki')
|
||||
|
@@ -25,18 +25,19 @@ block content
|
||||
a(href='/') Home
|
||||
li
|
||||
a(href='/account') Account
|
||||
.box
|
||||
.box.stickyscroll(data-margin-top=70)
|
||||
aside.menu(style= { 'min-width': '200px' })
|
||||
p.menu-label
|
||||
| Contents
|
||||
ul.menu-list
|
||||
a(href='#root', title='Start') Start
|
||||
+tocMenu(pageData.tree)
|
||||
|
||||
.column
|
||||
|
||||
h1.title= pageData.title
|
||||
h2.subtitle
|
||||
| Primary bold subtitle
|
||||
.content
|
||||
h1.title#title= pageData.title
|
||||
if pageData.subtitle
|
||||
h2.subtitle= pageData.subtitle
|
||||
.content.mkcontent
|
||||
!= pageData.html
|
||||
|
||||
|
Reference in New Issue
Block a user