improve toc demo
This commit is contained in:
@@ -63,7 +63,9 @@ export default {
|
|||||||
margin-top: 0.75em;
|
margin-top: 0.75em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
.toc {
|
.toc {
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
|
|||||||
@@ -27,15 +27,15 @@ export default {
|
|||||||
],
|
],
|
||||||
content: `
|
content: `
|
||||||
<toc></toc>
|
<toc></toc>
|
||||||
<h2>heading</h2>
|
<h2>1 heading</h2>
|
||||||
<p>paragraph</p>
|
<p>paragraph</p>
|
||||||
<h3>heading</h3>
|
<h3>1.1 heading</h3>
|
||||||
<p>paragraph</p>
|
<p>paragraph</p>
|
||||||
<h3>heading</h3>
|
<h3>1.2 heading</h3>
|
||||||
<p>paragraph</p>
|
<p>paragraph</p>
|
||||||
<h2>heading</h2>
|
<h2>2 heading</h2>
|
||||||
<p>paragraph</p>
|
<p>paragraph</p>
|
||||||
<h3>heading</h3>
|
<h3>2.1 heading</h3>
|
||||||
<p>paragraph</p>
|
<p>paragraph</p>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user