UNPKG

@twind/preset-typography

Version:

A twind preset that provides a set of `prose` classes you can use to add beautiful typographic defaults to any vanilla HTML you don't control, like HTML rendered from Markdown, or pulled from a CMS.

34 lines (19 loc) 2.04 kB
# @twind/preset-typography [![MIT License](https://flat.badgen.net/github/license/tw-in-js/twind)](https://github.com/tw-in-js/twind/blob/main/LICENSE) [![Latest Release](https://flat.badgen.net/npm/v/@twind/preset-typography?icon=npm&label&cache=10800&color=blue)](https://www.npmjs.com/package/@twind/preset-typography) [![Github](https://flat.badgen.net/badge/icon/tw-in-js%2Ftwind%23preset-typography?icon=github&label)](https://github.com/tw-in-js/twind/tree/main/packages/preset-typography) > Based on [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography). A plugin that provides a set of `prose` classes you can use to add beautiful typographic defaults to any vanilla HTML you don't control, like HTML rendered from Markdown, or pulled from a CMS. - 📖 Study [the documentation](https://twind.style/preset-typography) - 🤖 Try [the playground](https://twind.run/preset-typography) - 🧭 Explore [the examples](https://twind.style/examples) - 📓 Consult [the API reference](https://twind.style/packages/@twind/preset-typography) - 📜 Read [the changelog](https://github.com/tw-in-js/twind/tree/main/packages/preset-typography/CHANGELOG.md) ## 📖 Documentation The full documentation is available at [twind.style/preset-typography](https://twind.style/preset-typography). ## 💬 Community For help, discussion about best practices, or any other conversation that would benefit from being searchable use [Github Discussions](https://github.com/tw-in-js/twind/discussions). To ask questions and discuss with other Twind users in real time use [Discord Chat](https://chat.twind.style). ## 🧱 Contribute See the [Contributing Guide](../../CONTRIBUTING.md) for information on how to contribute to this project. ## 📜 Changelog The Changelog for this package is [available on GitHub](https://github.com/tw-in-js/twind/tree/main/packages/preset-typography/CHANGELOG.md). ## ⚖️ License The [MIT license](https://github.com/tw-in-js/twind/blob/main/LICENSE) governs your use of Twind.