3 ms·
> In a nutshell, VitePress takes your source content written in Markdown, applies a theme to it, and generates static HTML pages that can be easily deployed any
by malkosta 3y ago
> In a nutshell, VitePress takes your source content written in Markdown, applies a theme to it, and generates static HTML pages that can be easily deployed anywhere.
I do this with
for file in .md; do pandoc --quiet --template template.html $file -o "docs/${file%.}.html" done
> instant server start
cd docs/ && ruby -run -ehttpd . -p8000
There is also python and many other builtin alternatives for most systems.
> edits always instantly reflected
find . -name '*.html' -o -name '*.md' -o -name '\*.sh' | entr ./script.sh
> Built-in Markdown Extensions
It supports anything Pandoc supports...which is pretty much anything I need.
Yes...I know it doesn't have many fancy features...but it has the best feature that none of those SSGs have: I don't need to read ANY docs even if I spend 1 years without touching it. Here is the result: https://alexandremcosta.github.io https://alexandremcosta.github.io