this post was submitted on 17 Dec 2024
10 points (100.0% liked)

ObsidianMD

4142 readers
6 users here now

Unofficial Lemmy community for https://obsidian.md

founded 2 years ago
MODERATORS
 

obsidian has callouts, and collapsible headings/codeblocks. So that's the native way.

There are a couple plugins for other styles of spoilers. but lemmy's spoilers are weird.

I want to work with lemmy-style markdown in obsidian.

Is there some plugin or other method that would facilitate it?

code:

what's in here?nothing :( > nothing at all ___

renders as:

what's in here?nothing :(

nothing at all


you are viewing a single comment's thread
view the rest of the comments
[–] laserjet@lemmy.dbzer0.com 3 points 1 week ago

Sorry I was not clear. I want to use the lemmy formatting in obsidian and have it correctly render the effect. They for some reason invented their own novel spoiler code that nobody else uses or supports.

See the post, or documentation (ctrl-f "spoiler").

Or click the [!] button in the WYSIWYG toolbar above the comment text entry box:

If I paste your text into lemmy I get this:

If there would be a way to make the lemmy ::: spoiler code style render as details. That's what I want. So I can copy/paste the exact same text and it will work in both places.