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

Extend heading styling options #2045

Merged
merged 13 commits into from
Oct 15, 2024
Merged

Extend heading styling options #2045

merged 13 commits into from
Oct 15, 2024

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Oct 15, 2024

Summary:

This PR makes the following Manuscript Build changes:

  • Adds a set of centre and page break switches also to top level titles.
  • Generalises the "ODT Documents" section to "Document Options".
  • Changes the colour switch option to only apply to headings (this will be needed in the future)
  • Adds a switch to disable font scaling of headings, meaning they're the same size as the text.
  • Adds a switch to toggle bold font weight on headings.
  • The "Document Options" switches also apply to the preview.

Other changes:

  • All output format classes have been moved out of core and into a new formats folder.
  • The test have been restructured accordingly.

Related Issue(s):

Closes #2023

Reviewer's Checklist:

  • The header of all files contain a reference to the repository license
  • The overall test coverage is increased or remains the same as before
  • All tests are passing
  • All flake8 checks are passing and the style guide is followed
  • Documentation (as docstrings) is complete and understandable
  • Only files that have been actively changed are committed

@vkbo vkbo added this to the Release 2.6 Beta 1 milestone Oct 15, 2024
@vkbo vkbo changed the title Heading styling Extend heading styling options Oct 15, 2024
@vkbo vkbo merged commit 93c105f into main Oct 15, 2024
9 checks passed
@vkbo vkbo deleted the heading_styling branch October 15, 2024 19:40
@vkbo vkbo mentioned this pull request Oct 15, 2024
6 tasks
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.

Modify build tool to support heading formatting
1 participant