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

Rework section title css classes #2773

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sglaser
Copy link
Contributor

@sglaser sglaser commented Feb 25, 2020

Wrap section title in <span class="sect-title">.
Add <span class="secthdr" hidden>Chapter|Section|Appendix</span>

The hidden span allows code that references a section to be formatted "Chapter 8" if so desired. This puts the code that picks the name Chapter|Section}|Appendix in one place.

Wrapping the title in sect-title simplifies potential css formatting of the title.

Wrap section title in  <span class="sect-title">.
Add <span class="secthdr" hidden>Chapter|Section|Appendix</span>
@sglaser
Copy link
Contributor Author

sglaser commented Feb 25, 2020

I'm working on updating the test so this passes.

@marcoscaceres
Copy link
Member

ok, cool - appreciate you taking the time to send these fixes. Will wait for update on the tests. Any issues, just give us a shout.

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

Successfully merging this pull request may close these issues.

None yet

2 participants