Skip to content

markdown.toc generate wrong toc while using [[toc]] #1450

@chuxubank

Description

@chuxubank
  • I confirm that this is an issue rather than a question.

Bug report

My content:

# MVC; iOS, Xcode and Swift Demonstration
[[toc]]

My config:

markdown: {
        toc: {
            includeLevel: [3, 4, 5]
        }
}

Version

vuepress/1.0.0-alpha.44 darwin-x64 node-v11.11.0

Steps to reproduce

This markdown file

Whole Project

What is expected?

Before 1.0.0-alpha.40
image

What is actually happening?

After 1.0.0-alpha.40
image
Not deployed yet.

Other relevant information

  • Your OS: macOS
  • Node.js version: v11.11.0
  • Browser version: Safari 12.0.3
  • Is this a global or local install? global
  • Which package manager did you use for the install? yarn
  • Does this issue occur when all plugins are disabled? yes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions