News for hackers. Stuff that matters.
Re:Prettifying Org Mode with CSS by oefrha on Sunday May 10, 2020 @01:02AM (#23130428)
Org mode by default just uses your user agent stylesheet. Adding some CSS is trivial, so just write your own damn styles instead of adding a sandyuraz.com dependency for no reason.

Adding interactivity on the other hand is more involved. I recommend org-info-js which is what I use with my journals. https://orgmode.org/manual/JavaScript-support.html

Re:Prettifying Org Mode with CSS by thecsw on Sunday May 10, 2020 @02:53AM (#23130801)
Author here! I’m not the biggest fan of having thousands and thousands of external dependencies. I’m not too big on frontend but I have been using org mode for couple of years now. Just wanted to share some small adjustments one can make to make results prettier! If I made one for myself, literally anyone can copy it or make their own to their style
Re:Prettifying Org Mode with CSS by cosmicexplorer on Sunday May 10, 2020 @01:20AM (#23130490)
The sandyuraz.com dependency might be a good starting point for people who don't know how to make CSS styles, though, or want an example to go off of!
Re:Prettifying Org Mode with CSS by switz on Sunday May 10, 2020 @01:24AM (#23130503)
You seem offended someone provided some styles that help along with an easy way to integrate them.

One could easily copy those styles, extend them or host it themselves. Why the vitriol?

Re:Prettifying Org Mode with CSS by oefrha on Sunday May 10, 2020 @01:32AM (#23130530)
I would be supportive if the advice is “copy those styles, extend them or host it themselves”, not adding a dependency that’s bound to be broken sooner or later. There are way too many bloated, slow, or broken websites due to linking to random blurbs from the internet.
Re:Prettifying Org Mode with CSS by iakh on Sunday May 10, 2020 @09:03AM (#23132283)
Not sure if this was added later, but it says exactly that...

or just use the bare CSS as a starting point to make your own (everyone has their own style)

Re:Prettifying Org Mode with CSS by cosmicexplorer on Sunday May 10, 2020 @01:23AM (#23130500)
Also, I added back/forward support to org-info-js (along with a GPL license) here: https://github.com/cosmicexplorer/org-info-js. I haven't used it in a bit, but feel free to take the code e.g. from https://github.com/cosmicexplorer/org-info-js/commit/d72b310... if you're looking to improve the default org-info-js situation.
Re:Prettifying Org Mode with CSS by oefrha on Sunday May 10, 2020 @01:46AM (#23130580)
Back/forward with b/B is built in, but I guess additional integration with history doesn’t hurt.