webpro / reveal-md

reveal.js on steroids! Get beautiful reveal.js presentations from any Markdown file
MIT License
3.74k stars 416 forks source link

notesSeparator in YAML front matter does not override default #406

Closed erichaney closed 10 months ago

erichaney commented 2 years ago

I often find myself wanting to write "Note:" and have it literally appear on the slides.

If I try to change the noteSeparator option as below, it seems to make both "Note:" and "speakernote:" add to the notes section of the speaker view.

---
theme: serif
transition: none
separator: '^\r?\n---\r?\n$'
verticalSeparator: '^\r?\n--\r?\n$'
notesSeparator: '^speakernotes?:'
---

## My Math Presentation

---

Sketch the graph of the function below:

$$f(x) = \frac{x}{x+1}$$

Note: $f(-1)$ is undefined.

speakernote: As a follow-up, ask the class about the limit as x -> -1

--

...

The other config settings are working as expected.

But I would have expected the given noteSeparator to override the default one rather than allowing me to use both interchangeably.

stale[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

webpro commented 2 years ago

This is more of a bug in reveal.js: https://github.com/hakimel/reveal.js/pull/3260

webpro commented 10 months ago

Closing due to inactivity.