Build locally
bundle exec jekyll serve --livereload --incrementalor short:
jekyll s -IlThen, access on localhost:4000 instead of 127.0.0.1:4000 to avoid local CORS errors.
Add this to the frontmatter of the post:
---
draft: true
permalink: /blog/drafts/<your-random-hash>
---Download prismjs and place the JS as vendor/prism.js to allow for server-side rendering of code blocks. Toggle these languages:
JavaScript (needs C-like), HTML (and other markup languages), ERB, CSS, Sass (SCSS), Ruby, JSON + Web App Manifest, YAML, Docker