You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 1. One line
<$list filter="[title[HelloThere]]">~~<$link/>~~</$list>
## 2. Own line
<$list filter="[title[HelloThere]]">
~~<$link/>~~
</$list>
## 3. Blank lines
<$list filter="[title[HelloThere]]">
~~<$link/>~~
</$list>
## 4. Blank line after
<$list filter="[title[HelloThere]]">
~~<$link/>~~
</$list>
## 5. Blank line before
<$list filter="[title[HelloThere]]">
~~<$link/>~~
</$list>
Result
Only example 3 works (Markdown surrounded by blank lines), but adds unwanted paragraph <p>, making it unsuitable for uses like TaskManagementExample (the checkbox and "Go to Mordor" would be on different lines).
1, 2, 4 don't work (~~ is printed literally).
5 works for the Markdown, but breaks the rest of the widget output.
Strikethrough ~~ was chosen as it's more obvious visually. Bold **__ and italics *_ are also affected.
Screenshots
TiddlyWiki Configuration
TiddlyWiki 5.3.6
Included Markdown plugin
Node.js 22.11.0
All relevant parser settings in TW and Markdown plugin are default.
Additional context
All 5 examples work if the tiddler has type text/vnd.tiddlywiki (or blank).
Workaround for Markdown tiddlers
Use HTML in the widget (e.g. <s> for strikethrough):
Describe the bug
Markdown in widgets doesn't work unless surrounded by blank lines.
Expected behavior
Inline Markdown should work in widgets as it does outside of widgets.
To Reproduce
Copy and paste following code block into a new tiddler with type
text/markdown
on https://tiddlywiki.com/plugins/tiddlywiki/markdown/Result
Only example 3 works (Markdown surrounded by blank lines), but adds unwanted paragraph
<p>
, making it unsuitable for uses like TaskManagementExample (the checkbox and "Go to Mordor" would be on different lines).1, 2, 4 don't work (
~~
is printed literally).5 works for the Markdown, but breaks the rest of the widget output.
Strikethrough
~~
was chosen as it's more obvious visually. Bold**
__
and italics*
_
are also affected.Screenshots
TiddlyWiki Configuration
TiddlyWiki 5.3.6
Included Markdown plugin
Node.js 22.11.0
All relevant parser settings in TW and Markdown plugin are default.
Additional context
All 5 examples work if the tiddler has type
text/vnd.tiddlywiki
(or blank).Workaround for Markdown tiddlers
Use HTML in the widget (e.g.
<s>
for strikethrough):For TaskManagementExample:
The text was updated successfully, but these errors were encountered: