emacs-config/misc/org-css/README.org

25 lines
698 B
Org Mode
Raw Normal View History

#+title: Pile Theme
2020-07-15 10:27:33 +00:00
A sass-based set of styles to be used by Org when exporting to HTML.
=main.scss= is compiled to =main.css= which is then inserted into the ~<head>~ of
generated HTML documents.
2020-07-15 10:27:33 +00:00
This is a modified version of [[https://lepisma.xyz/][lepisma]]'s lovely [[https://github.com/lepisma/pile-theme][pile-theme]].
A little non-essential JS has been added to provide:
+ Functionality for copy-to-clipboard buttons
+ Have the table of contents auto-expand based on the current scroll position
* Development
To build =main.css= and =main.js=, I simply run
#+begin_src shell
sassc main.scss main.css
#+end_src
2020-07-15 10:27:33 +00:00
Then for combining the JS
#+begin_src shell
cat _*.js > main.js
#+end_src