https://github.com/zweifisch/fragment
just another static site generator
https://github.com/zweifisch/fragment
Last synced: 3 months ago
JSON representation
just another static site generator
- Host: GitHub
- URL: https://github.com/zweifisch/fragment
- Owner: zweifisch
- Created: 2013-04-19T08:16:02.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-20T03:33:16.000Z (about 13 years ago)
- Last Synced: 2025-09-08T13:00:58.921Z (10 months ago)
- Language: Python
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fragment
a static site generator that generate multiple html files from a single
markdown source file devided by the headlines
e.g. `2013-04-19.md`
```markdown
# daily review
what did i enjoy doing today?
# todo
* item
* more item
```
will be splitted into two html files
```
├── daily review
│ ├── index.html
│ └── 2013-04-19.html
└── todo
├── index.html
└── 2013-04-19.html
```
Why? a single file a day with every thing in it and still possible to publish
parts of it. On best to be used with vimwiki.
## usage
install via pip
```sh
pip install fragment
```
```sh
fragment gen --output /var/www/ ~/wiki/diary/
fragment -h
```