Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Closing triple-back-ticks after code block without new line breaks TOC #75

Open
fractos opened this issue Feb 13, 2019 · 2 comments · May be fixed by #92
Open

Closing triple-back-ticks after code block without new line breaks TOC #75

fractos opened this issue Feb 13, 2019 · 2 comments · May be fixed by #92

Comments

@fractos
Copy link

fractos commented Feb 13, 2019

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

@ghost
Copy link

ghost commented Mar 9, 2019

@fractos thanks for the workaround. This was driving me nuts.

@mcornella
Copy link

Inline code should use only one backtick (`). ``` is for multiline code. Duplicate of #69.

@mcornella mcornella linked a pull request Sep 23, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants