w9r.de
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Roma Komarov@front-end.social to ObsidianMD@lemmy.world · 2 years ago

Fixing Obsidian’s Markdown Display with CSS

cdn.masto.host

video
message-square
6
link
fedilink
16
video

Fixing Obsidian’s Markdown Display with CSS

cdn.masto.host

Roma Komarov@front-end.social to ObsidianMD@lemmy.world · 2 years ago
message-square
6
link
fedilink

Fixing Obsidian’s Markdown Display with CSS

https://blog.kizu.dev/fixing-obsidians-markdown-display-with-css/

A new blog post in my blog: I am sharing a #CSS snippet I wrote for #Obsidian, which makes the default Markdown display better for me by always showing the corresponding formatting symbols.

@obsidianmd @obsidian

alert-triangle
You must log in or # to comment.
  • DrakeRichards@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    This is incredible! I would love it as a fully-supported editing mode; maybe even a replacement for Live Edit.

  • Durand@pkm.social
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    @kizu @obsidianmd @obsidian this is a really nice work-around to live preview in Obsidian

    • Roma Komarov@front-end.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      @dja @obsidianmd @obsidian Thanks!

      I wish this was available as a built-in option, as it does not work for all the cases like nested _**strong inside em**_, but better than nothing I guess.

      I did not yet look into if there would be something additional possible through the plugin API — if it will allow altering how the formatted markdown tags look with the access to their source code (like, access to the markdown AST or something), a plugin fixing this properly could be also be possible.

  • Vasilis@social.vasilis.nl
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    @kizu @obsidianmd In the Obsidian settings you can switch between Live preview and Source view mode. I think Source view shows markdown.

    • Roma Komarov@front-end.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      @vasilis @obsidianmd Yep, I did mention it in the post — I want to see both the markdown formatting, _and_ the embeds, with links working as usual, etc.

      In the “Source Mode” I have to press cmd when going through links, and I cannot see any images and other embeds.

      • Vasilis@social.vasilis.nl
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        @kizu @obsidianmd Oops, sorry, didn’t read careful enough.

ObsidianMD@lemmy.world

obsidianmd@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !obsidianmd@lemmy.world

Unofficial Lemmy community for https://obsidian.md/

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 11 users / week
  • 84 users / month
  • 316 users / 6 months
  • 1 local subscriber
  • 4.65K subscribers
  • 175 Posts
  • 834 Comments
  • Modlog
  • mods:
  • grabyourmotherskeys@lemmy.world
  • Pexily@lemmy.world
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org