This is a starter project to build a barebones static site generator with Parcel with minimal dependencies
.
Main bundling package used:
- Parcel v2
Markdown parsing:
- posthtml-import
- posthtml-markdownit
Just the essentials :)
- markdown-it-emoji
- markdown-it-highlightjs (more styles)
# Install dependencies
yarn
# Then launch the preview
yarn dev
Build command
yarn dev
<script>
if (module.hot) {
module.hot.accept(() => location.reload());
}
</script>