mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
feat: suppport auto generating toc content for the '[TOC]' placeholder, related #3022
This commit is contained in:
@@ -73,3 +73,8 @@ test('Markdown.render() should render footnote correctly', t => {
|
||||
const rendered = md.render(markdownFixtures.footnote)
|
||||
t.snapshot(rendered)
|
||||
})
|
||||
|
||||
test('Markdown.render() should renders [TOC] placholder correctly', t => {
|
||||
const rendered = md.render(markdownFixtures.tocPlaceholder)
|
||||
t.snapshot(rendered)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user