reslate
v3.0.0-5
Published
Beautiful API Documentation
Downloads
968
Readme
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?
Additional plugin possibilities
- https://www.11ty.dev/docs/config/#transforms-example-minify-html-output