Saika
To represent technical markdown content with elegant UI.
What is Saika
Saika is basically a JavaScript file that fetches Markdown files and renders them as a single-page application.
It's totally runtime-driven so there's no server-side components involved which also means there's no build process. You only need to create an HTML file and a bunch of Markdown and your site is almost ready!
How does it work
We fetch and render corresponding markdown file for the route
you visit:
Which mean is when you visit your site as my-site.com/#/bar
, then will fetch my-site.com/bar.md
and render bar.md
's content.
Quick Start
Let say you have following files in ./my-site
folder:
The index.html
looks like:
Then you can serve this folder as a static website on your machine using:
- Node.js:
npm i -g serve && serve .
npm i -g http-server && hs
- Python:
python -m SimpleHTTPServer
- Golang:
caddy
- ...or whatever static web server
Next, you may want to use options or other theme(like theme docs) to customise the website.
Browser Compatibility
Saika supports all ever-green browsers, i.e. No IE support!