https://github.com/nicohman/org-sourcehut
A theme for org-mode exported HTML to mimic man.sr.ht
https://github.com/nicohman/org-sourcehut
org-mode sourcehut srht
Last synced: over 1 year ago
JSON representation
A theme for org-mode exported HTML to mimic man.sr.ht
- Host: GitHub
- URL: https://github.com/nicohman/org-sourcehut
- Owner: nicohman
- License: mit
- Created: 2019-03-03T20:58:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-18T01:09:08.000Z (over 7 years ago)
- Last Synced: 2025-01-19T05:06:37.753Z (over 1 year ago)
- Topics: org-mode, sourcehut, srht
- Language: CSS
- Size: 70.3 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# org-sourcehut
org-sourcehut is a theme for org mode's HTML export. It is intended to look like
[sourcehut](https://sourcehut.org)'s wiki service. It uses the original CSS file
from the site, but runs a javascript program to change the format of what org
mode outputs into something similar to sourcehut's HTML.
## Usage
You can add this to the top of your org-mode file to use the theme without
downloading anything:
```
#+SETUPFILE: https://demenses.net/org-sourcehut/sourcehut-remote.setup
```
Or, you can clone this repo to your org directory and use this to only use local
files:
```
#+SETUPFILE: org-sourcehut/sourcehut.setup
```
Either way, once you've got one of these in your org file, just export to HTML
as normal, and it should look nice.
## Acknowledgements
Obviously the original CSS belongs to Drew Devault, and the setupfile-based
theme structure is from [org-html-themes](https://github.com/fniessen/org-html-themes).