mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
🐛 docs(ToC): fix broken code block
This commit is contained in:
parent
695e40be70
commit
3f2e45601a
4 changed files with 19 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
title = "Table of Contents"
|
||||
date = 2022-11-01
|
||||
updated = 2023-08-14
|
||||
updated = 2023-09-08
|
||||
description = "A post showcasing the optional Table of Contents and its options."
|
||||
|
||||
[taxonomies]
|
||||
|
|
@ -51,11 +51,13 @@ The code to achieve this:
|
|||
If you set a custom position and a custom header for the ToC, you'll probably want to hide it (see the [section below](#hiding-headers-from-the-toc)) like this:
|
||||
|
||||
```markdown,hl_lines=06 11-13
|
||||
+++
|
||||
title = "Your Post's Title"
|
||||
date = 2034-01-11
|
||||
|
||||
[extra]
|
||||
toc_ignore_pattern = "^(Table of Contents)"
|
||||
+++
|
||||
|
||||
Here goes some introductory text.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue