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

Allow inserting characters in manuscript headers #1677

Merged
merged 13 commits into from
Jan 31, 2024
Merged

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Jan 30, 2024

Summary:

This PR:

  • Adds the Manuscript Build header formatting options to insert Point of View and Focus characters into header formats.
  • Adds the ability to specify an additional display name for tags that can be inserted into titles. They take the format @tag: Jane | Jane Smith where the display name is added after a | character,
  • Adds the necessary parsing features to the index class and makes some improvements to the tags index.
  • Adds additional highlighting for modified values, where the text after | is highlighted by a new customisable colour named optional in the syntax theme file.
  • Sets the optional colour to the same as the heading colour in all existing syntax themes.

Related Issue(s):

Closes #1468

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.3 Beta 1 milestone Jan 30, 2024
@vkbo vkbo linked an issue Jan 30, 2024 that may be closed by this pull request
@vkbo vkbo merged commit d20af12 into dev Jan 31, 2024
9 checks passed
@vkbo vkbo deleted the chars_in_build_alt2 branch January 31, 2024 19:36
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.

Insert POV character in chapter titles
1 participant