slidev
slidev copied to clipboard
Improve monospace and list formatting of notes
Describe the bug
Monospace
Backticks of monospace notes are shown both in presenter mode and in exported notes:
I think that these monospace texts should look the same as in slides:
Lists
I think that the spacing after indented note list items should be the same as after non-indented ones. (See the first two illustrations above.) I suggest the same for spacings before indented list items:
Minimal reproduction
Steps to reproduce the behavior:
- Export the notes in my presentation:
git clone https://github.com/gy-mate/kalauz cd kalauz/presentation git checkout 299e314a npx slidev - Open http://localhost:3030/presenter/16
- See the monospace text in point no. 4 and the spacing after it
- Open http://localhost:3030/presenter/18?clicks=2
- See the spacing before the list element
Environment
- Slidev version:
0.49.12(global) - Browser: Safari
17.5 - OS: macOS
14.5
Nice catch, I think we forgot to also replace the style for notes