{"id":13493693,"url":"https://github.com/johanbrook/eleventy-plugin-typeset","last_synced_at":"2025-04-12T23:20:51.558Z","repository":{"id":32998136,"uuid":"149139342","full_name":"johanbrook/eleventy-plugin-typeset","owner":"johanbrook","description":"A plugin for the Eleventy static site generator for making your typography nicer.","archived":false,"fork":false,"pushed_at":"2022-10-05T08:12:51.000Z","size":107,"stargazers_count":18,"open_issues_count":8,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T21:11:09.599Z","etag":null,"topics":["eleventy","plugin","typeset","typography"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johanbrook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-17T14:37:13.000Z","updated_at":"2023-09-26T14:07:06.000Z","dependencies_parsed_at":"2022-08-07T19:16:49.143Z","dependency_job_id":null,"html_url":"https://github.com/johanbrook/eleventy-plugin-typeset","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanbrook%2Feleventy-plugin-typeset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanbrook%2Feleventy-plugin-typeset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanbrook%2Feleventy-plugin-typeset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanbrook%2Feleventy-plugin-typeset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johanbrook","download_url":"https://codeload.github.com/johanbrook/eleventy-plugin-typeset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248644046,"owners_count":21138548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eleventy","plugin","typeset","typography"],"created_at":"2024-07-31T19:01:17.882Z","updated_at":"2025-04-12T23:20:51.537Z","avatar_url":"https://github.com/johanbrook.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Typeset plugin for Eleventy\n\nA plugin for the [Eleventy](https://github.com/11ty/eleventy/) static site generator for making your typography nicer, based on [Typeset.js](https://github.com/davidmerfield/Typeset).\n\n## Install\n\n```shell\nnpm install --save eleventy-plugin-typeset\n```\n\n## Usage\n\nIn your Eleventy config file (defaults to `.eleventy.js`):\n\n```js\nconst typesetPlugin = require('eleventy-plugin-typeset');\n\nmodule.exports = (eleventyConfig) =\u003e {\n  eleventyConfig.addPlugin(typesetPlugin());\n};\n```\n\n## Configuration\n\nTypeset.js accepts a couple of [options](https://github.com/davidmerfield/Typeset#options), which you can provide to this plugin too:\n\n```js\n// Example for passing options to the plugin.\n\neleventyConfig.addPlugin(\n  typesetPlugin({\n    only: '.article-text', // Run only on HTML content within a certain CSS selector\n    disable: ['smallCaps'], // Disable typesetting feature 'smallCaps'\n    // etc.\n  })\n);\n```\n\nYou can use the options to let this plugin run only on some certain parts of your content. This is actually a quite nice optimisation, since I discovered running Typeset on my full site (pages and posts) takes a few seconds. So unless you wanna typeset _all_ HTML on your site, be sure to scope the plugin with the `only` option to a selector that wraps your article content.\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanbrook%2Feleventy-plugin-typeset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohanbrook%2Feleventy-plugin-typeset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanbrook%2Feleventy-plugin-typeset/lists"}