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

Feature Request: allow for having headers start at H2 or H3 instead of H1 #156

Open
thomasvs opened this issue Feb 20, 2022 · 0 comments
Open

Comments

@thomasvs
Copy link

use case: I use obsidian which has a built-in present mode that works similarly. I use H1 (#) for the name of the file at the top.

I use H2 (##) on the first slide for the presentation title.

Every slides uses H3 (###) for the slide's title.

It looks like md2googleslides only uses H1 and H2 for slide titles and subtitles.

Would be good if instead it used the first header level it sees between --- separators. For example, if I have a H3 (###) as the first header after --- , treat that as the slide title, and H4 as the slide subtitle.

Alternatively, if it's too hard to detect per slide, allow at least setting it from the command line.

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

1 participant