You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2019. It is now read-only.
Currently, headings are being pulled in at the heading level that OpenStax has them set at. In CNX, heading levels start at h2. It would be nice if, during import, headings were bumped up two levels so that the top level heading in a chapter was h1.
This would allow people to take advantage of h1-related features in Pressbooks (e.g., two-level TOC and collapsed headings) without having to go through and change all of the headings.
Preferred behaviour
It would be prefered if, when importing an OpenStax book, headings were changed to start at heading 1. That would mean H3 changing to H1, H4 changing to H2, etc.
Actual behaviour
Currently, headings import at the same level as they are set in the CNX platform, which used h3 as the first heading level for chapter content.
Steps to reproduce the problem
Import an OpenStax book into Pressbooks.
Look at the book in Pressbooks.
See that top-level headings are the same level as they appear in the OpenStax CNX platform (Heading 3)
System Information
Openstax Import for Pressbooks: [Enter POI Version here]
Pressbooks: [Enter PB Version number here]
WordPress: [Enter WP Version number here]
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Currently, headings are being pulled in at the heading level that OpenStax has them set at. In CNX, heading levels start at h2. It would be nice if, during import, headings were bumped up two levels so that the top level heading in a chapter was h1.
This would allow people to take advantage of h1-related features in Pressbooks (e.g., two-level TOC and collapsed headings) without having to go through and change all of the headings.
Preferred behaviour
It would be prefered if, when importing an OpenStax book, headings were changed to start at heading 1. That would mean H3 changing to H1, H4 changing to H2, etc.
Actual behaviour
Currently, headings import at the same level as they are set in the CNX platform, which used h3 as the first heading level for chapter content.
Steps to reproduce the problem
System Information
The text was updated successfully, but these errors were encountered: