feat(cover): add onlyCover option, close #382
This commit is contained in:
parent
f68ddf5af0
commit
b265fdd68a
3 changed files with 20 additions and 5 deletions
|
|
@ -38,6 +38,7 @@ function renderMain (html) {
|
|||
html = 'not found'
|
||||
}
|
||||
|
||||
dom.toggleClass(dom.getNode('main'), 'add', 'ready')
|
||||
this._renderTo('.markdown-section', html)
|
||||
// Render sidebar with the TOC
|
||||
!this.config.loadSidebar && this._renderSidebar()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue