casual-markdown-blog is a handy solution to build blog site by markdown files and single index.html
No installation, just copy a single index.html, and config home page at index.md, then start write post in markdown!
It is very handy to build simple blog-site from markdown files, and host on static web hosting. For example,
- Self-host on github: https://raw.githack.com/casualwriter/casual-markdown-blog/main/source/index.html
- Casual-Markdown's Blog: https://casualwriter.github.io/casual-markdown/blog
- Dark theme: https://casualwriter.github.io/casual-markdown/blog?theme=dark
- Dark (always): https://casualwriter.github.io/casual-markdown/blog?home=index-dark.md
- Nav at right-side: https://casualwriter.github.io/casual-markdown/blog?home=index-right.md
Usage Guide
simply copy index.html to web server, or fork this repo.
- config site at index.md (title, subtitle, header-color, navigation, etc..)
- start to write blog post using markdown
- to publish, just add the post in index.md by syntax
* yyyy/mm/dd: [post-title](md-file) { #tags }
below is sample setup from Sample Blog: index.md
------------------------------------------------------------------title : Casual-Markdown's Blog
subtitle : Simple is the best
nav-group : featured, new-3, tags, months
nav-width : 320px
css-header : background:linear-gradient(to bottom right, #06c, #fc0); color:white
menu :
Home : ?
Github : https://github.com/casualwriter/casual-markdown-blog
Dark : javascript:darkmode()
About : ?page=about.md
------------------------------------------------------------------
<style comment="additional style">
......
</style>
<div id="md-post">
home page in markdown syntax...
## Archive
* yyyy/mm/dd: [Post Title](md file) { #tag1, #tag2 }
* yyyy/mm/dd: [Post Title](md file) { #tag1, #tag2 }
...
* yyyy/mm/dd: [Post Title](md file) { #tag1, #tag2 }
</div>
looking forward to your advice to help it getting better,
thanks,
Top comments (0)