Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOC With No 1st Level Heading is Output as Code #30

Open
sshaw opened this issue Mar 23, 2017 · 0 comments
Open

TOC With No 1st Level Heading is Output as Code #30

sshaw opened this issue Mar 23, 2017 · 0 comments

Comments

@sshaw
Copy link

sshaw commented Mar 23, 2017

Given:

## Foo

### Bar

The following is output:

Table of Contents
=================

    * [Foo](#foo)
      * [Bar](#bar)

Given the leading space, the TOC is code formatted. This is because my document has no H1.

In this case the documents are on GitHub's wiki, so the H1 is supplied by them.

Also opened for the go version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants