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

commentRegex renders error when multiple lines #1114

Open
qrzbing opened this issue May 2, 2024 · 0 comments
Open

commentRegex renders error when multiple lines #1114

qrzbing opened this issue May 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@qrzbing
Copy link

qrzbing commented May 2, 2024

Describe the bug
%% is used as comment chars in Obsidian, and in code blocks with multiline %%, quartz renders error.

To Reproduce
Steps to reproduce the behavior:

Make a code module:

%%MIDI program 0
%%barnumbers 0

After npx build, page will be renderred error.

Expected behavior

show

%%MIDI program 0
%%barnumbers 0

Screenshots and Source

image

Desktop (please complete the following information):

  • Quartz Version: latest git version
  • OS: Windows 11
  • Browser: Chrome
@qrzbing qrzbing added the bug Something isn't working label May 2, 2024
@qrzbing qrzbing changed the title commentRegex need to be restricted only in text commentRegex renders error when multiple lines May 2, 2024
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

1 participant