Skip to content

code block is not showing properly #296

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

Open
chs33 opened this issue Oct 23, 2024 · 2 comments
Open

code block is not showing properly #296

chs33 opened this issue Oct 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@chs33
Copy link

chs33 commented Oct 23, 2024

Steps to reproduce the behavior:

image

image
@chs33 chs33 added the bug Something isn't working label Oct 23, 2024
@chs33
Copy link
Author

chs33 commented Oct 25, 2024

as I tried seems like the problem is due to second occurrence of "std::", Anki doesn't like that

@Trenton-Ruf
Copy link

Verifying the above solution. Removing references to the std namespace fixes the error.
Not a great "fix" when the cards are about implementing the standard library lol.

When a codeblock uses std::

Image
Image

Without std::

Image
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants