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

Unnumbered Chapter: Alternative Syntax #406

Merged
merged 5 commits into from Aug 15, 2020
Merged

Unnumbered Chapter: Alternative Syntax #406

merged 5 commits into from Aug 15, 2020

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Aug 15, 2020

This PR adds the simple option to make any chapter heading unnumbered by adding an asterisk to the start of the title text. It's an alternative way to bypass the automatic chapter counter for chapters when not splitting the project up into chapter files.

It's a simple three line addition to the level 2 header parsing of the tokenizer class. Therefore it only applies to the Build Novel Project tool, and is not considered by any other part of novelWriter.

@vkbo vkbo linked an issue Aug 15, 2020 that may be closed by this pull request
@vkbo vkbo merged commit 702a10f into main Aug 15, 2020
@vkbo vkbo deleted the unnum_chapter_heading branch August 16, 2020 10:04
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.

Tag a chapter title as an unnumbered chapter
1 participant