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

Inconsistent heading sizes #116

Open
ostrokach opened this issue Nov 23, 2015 · 0 comments
Open

Inconsistent heading sizes #116

ostrokach opened this issue Nov 23, 2015 · 0 comments

Comments

@ostrokach
Copy link
Contributor

It appears to me that waliki produces incorrect heading levels when using rst.

For example, say you have a page Demo with the following contents:

Main Title
==========

Title 1
-------

Subtitle 1
^^^^^^^^^^

Subtitle 2
^^^^^^^^^^

In the produced html, "Demo" will be <h1>,"Main Title" will be <h2>, "Title 1" will be <h3>, but then "Subtitle 1" and "Subtitle 2" will be <h2> again, instead of <h4> as I would expect.

Is there a reason behind this?

Also, I think it would be very useful if there was an option to use "Main Title" as the main title, rather than "Demo". I saw the title_in_file branch, but it's far behind the master and is not updated any more. Is there a way to make this an option in the configuration file and merge it with the main branch?

Thanks for all your work!

@ostrokach ostrokach changed the title Inconsistent heading size Inconsistent heading sizes Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant