Apostrophe is a gorgeous Markdown editor (and viewer).
https://apps.gnome.org/app/org.gnome.gitlab.somas.Apostrophe/
@aral
There was some other xdg-command to change that.
But I guess, GNOME has a way to do so via control center as well.
@aral I aliased `xgd-open` to `open`. That also works for me.
@aadil Yep. I prefer abbreviations for this sort of thing as they expand into the actual command so I don’t forget what the actual command is (e.g., for when I’m on a new machine or someone else’s, etc.)
PS. If you want to quickly view markdown files from your terminal in Apostrophe after installing it, you can use xdg-open.
@aral Doesn’t Fish do that out of the box? It works in my environment (Ubuntu), I thought it would in other distributions, too.
https://fishshell.com/docs/current/cmds/open.html
PS. If you want to quickly view markdown files from your terminal in Apostrophe after installing it, you can use xdg-open.
@damienp Ooh, would you look at that, it would seem so. Will remove my abbreviation and confirm today. Thanks for the heads up :)
@aral I agree. I have been using it for some while now. Great and clean piece of software. Love it 🫀
@aral I’m really waiting for the GUI’s to integrate/copy the https://github.com/JeNeSuisPasDave/MarkdownTools mdmerge functionality. Indexes, the inclusion of external source files and more is hard to beat. I often work with the output of mdmerge to tweak in the gui and then run it through pandoc for layout/fonts/exporting. Having these functionalities integrated in one solid gui would be beyond nice.
@aral Ok, I'll check it.
PS. If you want to quickly view markdown files from your terminal in Apostrophe after installing it, you can use xdg-open.
xdg-open &>/dev/null README.md
If you think more like a human being than a robot, you might of course want to create an abbreviation for that. e.g., in your ~/.config/config.fish file for Fish shell:
```fish
if status is-interactive
# Open files in their associated apps from Terminal.
abbr --add --global open 'xdg-open &>/dev/null '
end
```
Then do:
open README.md