🐛 docs(ToC): fix broken code block

This commit is contained in:
welpo 2023-09-08 17:00:32 +02:00
parent 695e40be70
commit 3f2e45601a
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
4 changed files with 19 additions and 6 deletions

View file

@ -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.