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
type: text/markdown
<$transclude $variable="some-text" /> will be transcluded as inline TiddlyText when not explicitly declaring a type.
Let's transclude <$transclude $variable="some-text" $type="text/markdown" $mode="inline" /> with explicit type `text/markdown`.
Screenshots
No response
TiddlyWiki Configuration
TiddlyWiki 5.3.6
Additional context
The transcluded content is always wrapped in
<div class="markdown">
<p>
transcluded text
</p>
</div>
The text was updated successfully, but these errors were encountered:
yaisog
changed the title
[BUG] MarkDown text is always transcluded in block mode
[BUG] Markdown text is always transcluded in block mode
Jan 31, 2025
it works as expected, though I did not do a thorough check for side effects. As long as parseAsInline is not true, the behavior should be identical to before.
Since there is a display: block; rule for the markdown class, I chose a different class name for inline content.
Tagging @cdruan, as he's been implementing the plugin.
Describe the bug
When I use $transclude with $type="text/markdown", it will always be transcluded in block mode, even when setting $mode="inline" explicitly.
Expected behavior
$transclude should respect its context, especially when set explicity, even with Markdown type.
To Reproduce
Screenshots
No response
TiddlyWiki Configuration
TiddlyWiki 5.3.6
Additional context
The transcluded content is always wrapped in
The text was updated successfully, but these errors were encountered: