Create blog from markdown files.
This project is at a very early stage and the API is a subject of changes.
mdblog init blog
mdblog build [-t theme]
mdblog server [-p port]
``` $ mdblog init myblog $ tree myblog myblog ├── config.toml ├── posts │ └── hello.md └── _themes └── simple ├── static │ ├── css │ │ ├── highlight.css │ │ └── main.css │ ├── img │ │ ├── favicon.png │ │ └── logo.png │ └── js │ ├── highlight.js │ └── main.js └── templates ├── base.tpl ├── index.tpl ├── post.tpl └── tag.tpl
8 directories, 12 files $ cd myblog $ mdblog build $ tree . . ├── _builds │ ├── blog │ │ ├── modified.html │ │ ├── posts │ │ │ └── hello.html │ │ └── tags │ │ ├── hello.html │ │ └── world.html │ ├── index.html │ └── static │ ├── css │ │ ├── highlight.css │ │ └── main.css │ ├── img │ │ ├── favicon.png │ │ └── logo.png │ └── js │ ├── highlight.js │ └── main.js ├── config.toml ├── posts │ └── hello.md └── _themes └── simple ├── static │ ├── css │ │ ├── highlight.css │ │ └── main.css │ ├── img │ │ ├── favicon.png │ │ └── logo.png │ └── js │ ├── highlight.js │ └── main.js └── templates ├── base.tpl ├── index.tpl ├── post.tpl └── tag.tpl
16 directories, 23 files ```
toml
[blog]
theme = simple