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
…in use on this page, renders in a browser as a code block, but ends up as an inline code span with no line breaks in Obsidian Web Clipper.
It's not clear to me that Defuddle is doing anything wrong per se, or which package between Defuddle, Obsidian Web Clipper, and Turndown ought to fix this. If you run that through Defuddle, you get this:
<div><code>
[multiple]
[lines]
</code></div>
Which isn't wrong, but it's removed the thing that made it render as a block. Is it in scope for Defuddle to add a pre that wasn't originally there, so that its output will match the standardized code block the README describes?
The text was updated successfully, but these errors were encountered:
cpmsmith
changed the title
Slightly-malformed code block on Confluence becomes inline
Slightly un-semantic code block on Confluence becomes inline
Apr 1, 2025
Originally this was obsidianmd/obsidian-clipper#435, but it was requested that I open an issue here. Long story short, this HTML:
…in use on this page, renders in a browser as a code block, but ends up as an inline code span with no line breaks in Obsidian Web Clipper.
It's not clear to me that Defuddle is doing anything wrong per se, or which package between Defuddle, Obsidian Web Clipper, and Turndown ought to fix this. If you run that through Defuddle, you get this:
Which isn't wrong, but it's removed the thing that made it render as a block. Is it in scope for Defuddle to add a
pre
that wasn't originally there, so that its output will match the standardized code block the README describes?The text was updated successfully, but these errors were encountered: