-
-
Notifications
You must be signed in to change notification settings - Fork 271
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 new option --ShowBulletsIndividually #276
base: main
Are you sure you want to change the base?
Conversation
Hey @StefanSchroeder, this is a really awesome contribution. Thank you for these changes! I think to get this feature merged I would likely want something more declarative / within the markdown document itself (at least I think) so that:
What do you think about the following proposal (I'm happy to also consider other alternatives and suggestions as well) Essentially, currently each slide is delimited with
I think this solution:
|
Ok, I'll provide an update. The common-mark specifications calls this a 'thematic block'. https://spec.commonmark.org/0.30/#thematic-break This spec is pretty intricate and allows several deviations from a simple three-character block, e.g. there can be spaces in between. Is there any particular Markdown dialect that you prefer? I'll try to come up with a single regexp that matches the specification. But that seems to be about it what needs to be changed. There is one caveat though. Since we are just exploding the slides to be one new slide per section, the page counter will not reflect the number of pages any more, but the number of sections. There is more than one way to fix that. This would need a design decision. |
Hmm, I pushed my update to my fork, but when I open a new PR I get redirected to this one. I am not sure how to proceed. Is there anything I overlooked? |
If the incremental points are enabled by the *** seperator, should the --ShowBulletsIndividually flag be needed? |
No, the flag would not be needed anymore. |
the point of the flag originally was to not change the default behavior. the option would give users control to only use that feature if specifically requested. |
it would be nice to support
|
Changes Introduced
It's easy to mix and match items to be shown or not shown by adding an individual space in front of the asterisk.
If there is trailing text behind the list, it will be shown together with the last item of the list.