Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 }}
```