vscode-reveal
vscode-reveal copied to clipboard
4.0.2 not recognizing notes
The Note:
separator which used to work (3.4.x?) does not work in 4.0.2:
<!-- .slide: data-separator-notes="^Note:" -->
# Title
- blah
Note: Here's a note
In 3.4.x (?) I think I was using the vscode setting:
"revealjs.notesSeparator": "^Note:"
In any case, it was working. Now it's not.
A work-around now is to wrap the note in <aside class="notes">
(is not shown, and shows in speaker notes):
<aside class="notes">Note: Here's a note</aside>
😅 I 'd forgetten to parse it
Hmm looks like the new version (4.0.3) is already installed on my machine but it still doesn't work. Am I probably missing something?
Looks like I got it wrong. Instead of writing
note: Some note
I tried to use it like:
note:
* First note line
* Second note line
* ...
Somehow multi-line notes don't seem to be supported without using HTML. Any plans to support that?
In my settings, it's
"revealjs.notesSeparator": "^Note:"
I think it would be case-sensitive (meaning you have to have Note: and not note:.
Either way, it's still not working in my 4.0.3 install on Windows 10.
I tried playing more with it and got this to work:
notesSeparator: "Note:"
But as @orgi pointed out, it won't work for multi-line notes. Bullets (from markdown) in notes are very useful.
@evilz any chance to get this working with multi-line markdown, as discussed at https://github.com/evilz/vscode-reveal/issues/295#issuecomment-545516608
Multiline notes are working within the aside
tag. You need to set the data-markdown
attribute and for some reason you cannot have blank lines within the aside
tag.
<aside class="notes" data-markdown="">
my comment
<!-- NO BLANK LINES -->
- item1
- item2
- item 2.a
- item 2.b
- item 3
<br>
more comments
</aside>
You are right. Need to remake all parser for the note.
Actually you can add <br/>
to go to new line.
If someone want to code the note parser I took it :p