Describe the bug
Quartz does not escape tags, while Obsidian does.
To Reproduce
Steps to reproduce the behavior:
Make a new note with a tag containing the text \#foobar
Generate the static site
Visit the note to see that the tag #foobar has been added to the page and the text #foobar in the body is now a link to the tag page.
Expected behavior
Quartz should not add the tag #foobar and render #foobar in the body of the note without a link
Screenshots and Source
Obsidian-Flavored Markdown:
# \#foobar
\#foobar is a popular tag used on bird site.
Obsidian:
Quartz:
Desktop (please complete the following information):
Quartz Version: v4.4.0
node Version: v22.9.0
npm version: v10.9.0
OS: Linux
Browser: Firefox
Additional context
This feature is mentioned in the official documentation:
In some cases, you may need to display special characters in Markdown, such as *, _, or #, without triggering their formatting. To display these characters literally, place a backslash (\) before them.
Describe the bug Quartz does not escape tags, while Obsidian does.
To Reproduce
Steps to reproduce the behavior:
\#foobar
#foobar
has been added to the page and the text#foobar
in the body is now a link to the tag page.Expected behavior
Quartz should not add the tag
#foobar
and render#foobar
in the body of the note without a linkScreenshots and Source
Obsidian-Flavored Markdown:
Obsidian:
Quartz:
Desktop (please complete the following information):
node
Version: v22.9.0npm
version: v10.9.0Additional context
This feature is mentioned in the official documentation:
See: https://help.obsidian.md/Editing+and+formatting/Basic+formatting+syntax#Escaping+Markdown+Syntax
I imagine that this is probably related to #1496