-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Labels
bug
Something isn't working
Comments
qrzbing
changed the title
May 2, 2024
commentRegex
need to be restricted only in textcommentRegex
renders error when multiple lines
I hit the same situation with the following code block (unfortunately, R uses is_leap_year <- function(year) {
if (year %% 400 == 0) {
return(TRUE)
}
if (year %% 100 == 0) {
return(FALSE)
}
if (year %% 4 == 0) {
return(TRUE)
}
FALSE
} |
I ran into this issue, but with inline code as well: Markdown: You can comment out parts of a document by surrounding the text to comment out with `%%`. For example:
```markdown
This sentence is missing a %%word%% in read mode.
%%
This only appears in edit mode.
%%
```
This results in:
> This sentence is missing a %%word%% in read mode.
>
> %%
> This only appears in edit mode.
> %% Obsidian: Quartz: |
not a bug, TIL. cc @saberzero1 :/ |
Another one for the parser rework. |
24 tasks
saberzero1
added a commit
to saberzero1/quartz
that referenced
this issue
Oct 31, 2024
saberzero1
added a commit
to saberzero1/quartz
that referenced
this issue
Oct 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
After npx build, page will be renderred error.
Expected behavior
show
Screenshots and Source
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: