Awesome
Slate v3 POC
Proof-of-concept Slate v3 using eleventy as the static site generator.
Features
- Out-of-the-box syntax highlighting for over 200 languages, no configuration required.
Install
Requires an LTS version of Node.js
- Clone the repository
npm i
or
- Create your Node.js project (
npm init
) - Add
reslate
as a (dev)dependency (npm i [--save-dev] reslate
) npx reslate init
Running
- To build:
npm run build
- To debug:
npm run debug
- To serve:
npm run serve
and browse to http://localhost:4567
(If installed as a dependency, use npx reslate [build|debug|serve]
)
TODO
- Watch scss files
- Option to use lunr server-side / across multiple files #1006
- GitHub emoji shortcuts (as in Shins), yea or nay?
- Specify additional CSS includes in header?