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

Test/document behaviour of non-consecutive header levels #71

Closed
chrisjsewell opened this issue Feb 21, 2020 · 0 comments · Fixed by #123
Closed

Test/document behaviour of non-consecutive header levels #71

chrisjsewell opened this issue Feb 21, 2020 · 0 comments · Fixed by #123
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation testing
Milestone

Comments

@chrisjsewell
Copy link
Member

As noted in executablebooks/MyST-NB#17:

One thing that should be checked/documented at the myst_parser level, is that the docutils.RstParser specifically prohibits transitions from 'non-consecutive' header levels, e.g.

# Title h1

### Title h3

If think with myst, this will currently end up being the same as:

# Title h1

## Title h2

I should check this, and decide how to handle it, e.g. would sphinx be happy with 'virtual' sections being added that don't have a <title> child.

@chrisjsewell chrisjsewell added bug Something isn't working documentation Improvements or additions to documentation testing labels Feb 21, 2020
@chrisjsewell chrisjsewell added this to the Beta Release milestone Feb 24, 2020
@chrisjsewell chrisjsewell self-assigned this Feb 24, 2020
@chrisjsewell chrisjsewell linked a pull request Mar 30, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant