Markdown static blog generator with Showdown.js and Pug based on Nuxt
MIT License
Markdown static blog generator with Showdown.js and Pug based on Nuxt
I find Showdown.js easy to extend with https://github.com/patarapolw/indented-filter. Pug is also easy to extend with Pug filters. I find popular static blog generators to use Showdown-it or something else, with makes it hard to extend, not to mention that there is no Pug.
In order to be SEO-friendly and on GitHub Pages as well, as GitHub Pages doesn't allow SPA with History Router.
npm i -g https://github.com/patarapolw/blog.nuxt.git
config.json
, filled with settings, as will be describe in the exampleblog.nuxt
to run a development server. blog.nuxt -b
to build for GitHub Pages.gh-pages -d dist -t true
npm init -y
git init
git submodule add https://github.com/patarapolw/blog.nuxt.git
npm i ./blog.nuxt
.gitignore
# Blog.nuxt
assets/build/
static/build/
nuxt.config.js