Socket
Socket
Sign inDemoInstall

@twind/typography

Package Overview
Dependencies
4
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @twind/typography

A Tailwind JS plugin for automatically styling plain HTML content with beautiful typographic defaults.


Version published
Weekly downloads
274
decreased by-10.16%
Maintainers
1
Install size
196 kB
Created
Weekly downloads
 

Readme

Source

@twind/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).

MIT License Latest Release Github Typescript Bundle Size


Installation

npm install @twind/typography

Usage

see @tailwindcss/typography

import typography from '@twind/typography'
import { setup } from 'twind'

setup({
  plugins: {
    ...typography({
      className: 'my-prose', // Defaults to 'prose'
    }),
  },
})

Contribute

Thanks for being willing to contribute!

This project is free and open-source, so if you think this project can help you or anyone else, you may star it on GitHub. Feel free to open an issue if you have any idea, question, or you've found a bug.

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

We are following the Conventional Commits convention.

Develop

Ensure you run at least Node v14.

Clone the repository and cd into the project directory.

Run yarn install && yarn build.

  • yarn format: Ensure consistent code style
  • yarn build: Build the package
  • yarn start: Start example using snowpack
  • yarn release: To publish the package

License

MIT

Keywords

FAQs

Last updated on 14 Mar 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc