1,015 B
1,015 B
Pile Theme
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.
This is a modified version of lepisma's lovely 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
sassc main.scss main.css
A minified CSS file would be nice to have too.
sassc --style compressed main.scss main.min.css
if command -v csso &> /dev/null; then
csso main.min.css -o main.min.css
fi
Then for combining the JS
ls _*.js | sort -V | xargs cat > main.js