|
|
8 years ago | |
|---|---|---|
| benches | 8 years ago | |
| examples | 8 years ago | |
| src | 8 years ago | |
| sublime_themes | 8 years ago | |
| test_site | 8 years ago | |
| tests | 8 years ago | |
| .editorconfig | 8 years ago | |
| .gitignore | 8 years ago | |
| .travis.yml | 8 years ago | |
| Cargo.lock | 8 years ago | |
| Cargo.toml | 8 years ago | |
| README.md | 8 years ago | |
Can be used for blogs or general static pages
Commands:
All pages go into the content folder. Subfolder represents a list of content, ie
├── content
│ ├── posts
│ │ └── intro.md
│ └── some.md
some.md will be accessible at mywebsite.com/some and there will be other pages:
mywebsite.com/posts that will list all the pages contained in the posts foldermywebsite.com/posts/introGet all .md files in content, remove the content/ prefix to their path
Split the file between front matter and content
Parse the front matter
markdown -> HTML for the content
Gallery at https://tmtheme-editor.herokuapp.com/#!/editor/theme/Agola%20Dark
Make .themedump file:
cargo run --example generate_themes themepack sublime_themes sublime_themes/all.themedump