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

Commenting doesn't work properly #43

Open
yenson-lau opened this issue Nov 25, 2020 · 1 comment
Open

Commenting doesn't work properly #43

yenson-lau opened this issue Nov 25, 2020 · 1 comment

Comments

@yenson-lau
Copy link

In my index.md, suppose my first slide contains something like

# Title
Speaker name
Date

<!-- KaTeX Macros -->
$$\global\def\an{a^n}$$

The commented block unfortunately shows up on the slide.

@bvrb
Copy link

bvrb commented Mar 12, 2022

Just wanted to note that I also stumbled upon this and give a little more context:

A html comment like

<!-- Comment -->

in index.md will result in

<!– Comment –>

in the index.html generated by Remark.jl. Note that -- is converted to the Unicode 'en dash' character (U+2013) and the comment will not render properly.

This seems to be somehow connected to Documenter, since adding the documenter=false option during slideshow generation makes the problem disappear.

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

2 participants