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:

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

renders as:

what's in here?

nothing :(

nothing at all


  • Wheatly@masto.ai
    link
    fedilink
    arrow-up
    1
    ·
    11 days ago

    @laserjet not an answer to your question, sorry.

    How did you manage to federate Lemmy post into mastodon obsidianmd hashtag? There’s none even in the body of your post

    • layzerjeyt@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      2
      ·
      11 days ago

      I took no steps towards this. I can’t see any hashtags from my end.

      I don’t use mastodon but I vaguely recall something about a bot that would add hashtags to lemmy posts to get them visibility on there. It was opt-in at some level but not per-user or per-post. Maybe the community moderator? Or the instance admin had to install something?

      I posted to my instance here https://lemmy.dbzer0.com/c/obsidianmd@lemmy.world and the comm’s home instance is https://lemmy.world/c/obsidianmd. Maybe someone at one of those can tell you how it happened.

      I clicked through from your comment and I found my profile on your instance, https://masto.ai/@laserjet@lemmy.dbzer0.com. I see one other post has been tagged with #piracy which I also didn’t take any active steps towards. Maybe if you use this method to look at a more active user you can deduce where it’s coming from.

    • Emotional_Series7814@kbin.melroy.org
      link
      fedilink
      arrow-up
      2
      ·
      10 days ago

      I do not mod ObsidianMD.

      However, I know that magazines on Mbin (equivalent to a community on Lemmy) come with an option to automatically tag all posts made in the magazine with a hashtag. I used to do this with a magazine I modded till the instance I was on (kbin.run) died, taking the community with it.

      It’s possible the mod of ObsidianMD did the same thing with the obsidianmd hashtag. However, I see that ObsidianMD is a lemmy.world community. I’ll need to look into this more.