Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdsteinbach/eleventy-plugin-typesetjs
An Eleventy filter to run content through typeset.js
https://github.com/jdsteinbach/eleventy-plugin-typesetjs
Last synced: 16 days ago
JSON representation
An Eleventy filter to run content through typeset.js
- Host: GitHub
- URL: https://github.com/jdsteinbach/eleventy-plugin-typesetjs
- Owner: jdsteinbach
- Created: 2020-01-31T23:13:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T03:26:35.000Z (about 2 months ago)
- Last Synced: 2024-10-03T05:21:05.993Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Eleventy Plugin: Typeset.js
Install from NPM
```sh
npm install --save eleventy-plugin-typesetjs
```Add to `.eleventy.js`
```js
const pluginTypesetJS = require('eleventy-plugin-typesetjs')module.exports = eleventyConfig => {
eleventyConfig.addPlugin(pluginTypesetJS)//…other code
}
```Use it in your templates:
```njk
{{ content | typeset }}
```