markdown-toc
markdown-toc copied to clipboard
Closing triple-back-ticks after code block without new line breaks TOC
Version 1.5.6
The following example will not show the Second section in the TOC until the closing triple back-ticks are put on their own line (e.g. add a newline after code but before the triple back-ticks in the example below).
# Title
## Table of Contents
<!-- TOC -->
- [Title](#title)
- [Table of Contents](#table-of-contents)
- [First section](#first-section)
<!-- /TOC -->
## First section
Example:
```code```
## Second section
@fractos thanks for the workaround. This was driving me nuts.
Inline code should use only one backtick (`). ``` is for multiline code. Duplicate of #69.