Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Thib
@thibaultamartin@mamot.fr  ·  activity timestamp 2 weeks ago

I'm somewhat surprised nobody wrote a plugin to format the Obsidian source markdown to 80 character long lines.

Did I miss something?

#obsidian #markdown

  • Copy link
  • Flag this post
  • Block
Danny Colin
@dannycolin@floss.social  ·  activity timestamp 2 weeks ago
@thibaultamartin there's a nice plugin called Vim :D. Sorry I had to make that joke. Mouahahah.
  • Copy link
  • Flag this comment
  • Block
Thib
@thibaultamartin@mamot.fr  ·  activity timestamp 2 weeks ago

I recently installed LazyVim to get me started, because vim configuration is honestly overwhelming :D

But while I enjoy fiddling on my servers with vim, editing a markdown post with it is a different story.

And Obsidian has pricey but very convenient way to keep my phone and laptop in sync :)

https://www.lazyvim.org/

@dannycolin

  • Copy link
  • Flag this comment
  • Block
Danny Colin
@dannycolin@floss.social  ·  activity timestamp 2 weeks ago
@thibaultamartin The important thing is that your data is portable so you aren't vendor-locked if anything bad happen to one of the project you're using.

After that, you can use whatever works best for you, be it Obsidian, Vim or dare I say E... Ema... Emacs. :)

  • Copy link
  • Flag this comment
  • Block
Aditya Telange
@adityatelange@mastodon.social  ·  activity timestamp 2 weeks ago
@thibaultamartin is already optimal?
Readable line length
Limit maximum line length. Less content fits onscreen, but long blocks of text are more readable.
Readable line length Limit maximum line length. Less content fits onscreen, but long blocks of text are more readable.
Readable line length Limit maximum line length. Less content fits onscreen, but long blocks of text are more readable.
  • Copy link
  • Flag this comment
  • Block
Thib
@thibaultamartin@mamot.fr  ·  activity timestamp 2 weeks ago
@adityatelange this is only what Obsidian displays, not the actual text file :)

After I'm done drafting my posts in Obsidian I copy the markdown into my website directory, and I'd like to keep the files 80 characters long at most.

Another solution is to rely on Prettier to do it manually, but meh.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct