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

Add a custom number or id to the marker #92

Open
Robot8A opened this issue Oct 5, 2022 · 1 comment
Open

Add a custom number or id to the marker #92

Robot8A opened this issue Oct 5, 2022 · 1 comment

Comments

@Robot8A
Copy link

Robot8A commented Oct 5, 2022

Apart from the option "Numbered", add an option "CustomNumbered" (or similar), and a way to specify the custom number or identifier of the marker.

@ilyankou
Copy link
Contributor

ilyankou commented Oct 5, 2022

Hi @Robot8A and thank you for the suggestion.

I'm inclined to keeping it limited to simply Numbered to avoid over-complicating the template. You can always edit your code around line 156 to get desired numbers. For example, if you want even numbering (2, 4, 6, ...), you could do chapterCount * 2 like this:

number: c['Marker'] === 'Plain' ? '' : chapterCount * 2,

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

No branches or pull requests

2 participants