Static site generator based on npm,
marked and
jsdom (check devDependencies in package.json
for more details)
https://padurean.github.io/markedista/
-
add some markdown post(s) in the _src/_posts/_to-render folder
-
edit html templates from the _src/_templates folder
-
run
npm run render=> html files will be generated in the posts folder, rendered markdown files will be moved to the _src/_rendered folder -
deploy the root folder to any static host
-
run
npm run minifycssto minify css (in case there were some changes in any (s)css file(s)) -
run
npm run minifyjsto minify js (in case there were some changes in any js file(s))
- use
npm outdatedto discover dependencies that are out of date - use
npm updateto perform safe dependency upgrades - use
npm install <packagename>@latestto upgrade to the latest major version of a package - use
npx npm-check-updates -uandnpm installto upgrade all dependencies to their latest major versions