this post was submitted on 06 Feb 2025
31 points (97.0% liked)

Linux

8693 readers
171 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

I use gedit for most of my text editing, but markdown support is very limited.

Things I've tried:

  • vscode, too heavy and intrusive
  • Google docs, only renders, doesn't show the plain text, need to manually export to see markdown
  • Eclipse, haven't actually tried markdown, but I have no doubt that it's supported, but heavier than anything else
  • atom, no longer developed last time I checked
  • online editor, don't want to share my text and functionality is poor
  • type markdown, save it and render with pandoc, lots of effort, but the results are good

Over to you.

Edit: Had some issues with my Lemmy client, moved to Voyager and hopefully I can fix things.

I was asked what functionality I require, which to be fair, I hadn't considered because I use my editor for pretty much everything.

Ideally I'd be able to use it to either see the raw markdown or the rendered version of whatever I'm writing, code in a dozen languages, articles, websites, legal documents, books, all of which I do pretty regularly.

The side-by-side view doesn't do it for me, I'd more likely than not have multiple windows open with different documents instead.

It should do autocomplete, syntax highlighting, bracket closing, live spell checking in a variety of languages, launch quickly, be rock solid when faced with a massive log file and allow me to add menu-items to run bash scripts that do things like calculate the time it would take me to read out the text at my normal podcast reading voice or covert weird characters into html-entities.

There have been many wonderful suggestions, most of them do the preview side-by-side which pretty much eliminates them as a candidate.

There are many suggestions to use a vscode floss version, but the biggest issue with vscode is its weight and I'm not sure if it changes by moving to the floss version. I note that my search for that tool brought me many AI features, which is why I did a hard pass and why I can't remember its name ATM. (Edit: Codium)

I've been using Debian since 1999 and still struggle with remembering the vi control codes, so emacs is unlikely to get in the door.

So, with that in mind, whadayagot?

you are viewing a single comment's thread
view the rest of the comments
[–] highball@lemmy.world 4 points 17 hours ago (1 children)

Too bad you are not a fan of vim. Helix is a good alternative. But, Helix and frogmouth in tmux is a good combo. Maybe nano instead of helix or vim?. https://github.com/Textualize/frogmouth

[–] vk6flab@lemmy.radio 2 points 17 hours ago (1 children)

I want to be friends with vi, but I cannot get my head around it, between the regex for sed, grep, awk, vi and even languages like bash, python, PHP, and Perl something has gotta give.

[–] highball@lemmy.world 3 points 15 hours ago

I hear you. the vi family, even helix (which is an IDE where the vi-like editors are not) takes quite of bit of use for things to just be natural. If I knew a terminal editor like nano but as powerful as VSCode that would be a great option for you. I'm sure it's out there, I just don't know what it is. But frogmouth is what you want to review the rendered markdown. tmux with helix and frogmouth is such a simple combo. I'm sure there is a hx/vi-like/vscode alternative out there. I mean, it's the internet, guaranteed somebody else wanted that too.

Another tip though, since I think most people have never heard of it. Xonsh instead of bash shell. It's a shell done in python. Then you can drop bash, php, and perl. Just stick with python. xonsh also has a wrapper for running bash scripts too, so you don't have to redo old work. It's worth a look to see if xonsh can simplify some things for you.