Skip to content

Make draft chapters expandable #1885

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

Open
nathaneastwood opened this issue Sep 7, 2022 · 1 comment
Open

Make draft chapters expandable #1885

nathaneastwood opened this issue Sep 7, 2022 · 1 comment
Labels
A-draft Area: Draft chapters

Comments

@nathaneastwood
Copy link

Hi, thanks for this great tool. I am using it for a book project of mine for a TCG called Flesh and Blood. You can see the project source here and the site here.

I have a lot of chapters. I am currently separating them with draft chapters with the following toggle:

[output.html.fold]
enable = true
level = 0

This enables the site to be navigated a little easier. Sections do not really work for me since I have so many chapters. The problem with the draft chapters is that they are a different colour (by default) and they are non-clickable, i.e. you cannot expand them - you must instead click on the arrow. Is it possible to make draft chapters clickable? It becomes a little counter intuitive when you can click on other sidebar links. This is possibly compounded by the fact I have changed the draft chapter colour to the same as the clickable chapters but I personally think this looks better.

@nathaneastwood
Copy link
Author

I think this is very closely related to #483

@ehuss ehuss added the A-draft Area: Draft chapters label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-draft Area: Draft chapters
Projects
None yet
Development

No branches or pull requests

2 participants