@tailwindcss/typography": "^0.5.2, prose not working at all

See original GitHub issue

I’ve installed tailwindcss/typography, then added the tw="prose" , but the classes are not being applied. Here’s what I see in browser: Screen Shot 2022-05-11 at 9 42 15 PM

Below is my markup:

        <h1>test</h1>
        <h2>test 2</h2>
        <p>
          Lorem ipsum <a href="#">dolor sit</a> amet consectetur adipisicing
          elit. Quas incidunt totam fugiat cumque! Suscipit obcaecati rerum
          molestias sed quidem excepturi deserunt dolorem iure repellat soluta
          perferendis veritatis quod, mollitia autem.
        </p>
        <p>
          Lorem ipsum <a href="#">dolor sit</a> amet consectetur adipisicing
          elit. Quas incidunt totam fugiat cumque! Suscipit obcaecati rerum
          molestias sed quidem excepturi deserunt dolorem iure repellat soluta
          perferendis veritatis quod, mollitia autem.
        </p>
      </article>

below are my dependencies:

    "@emotion/react": "^11.9.0",
    "@emotion/styled": "^11.8.1",
    "@sindresorhus/slugify": "^1.1.0",
    "debounce": "^1.2.1",
    "dotenv": "^10.0.0",
    "gatsby": "^4.0.2",
    "gatsby-plugin-emotion": "^7.13.0",
    "gatsby-plugin-gatsby-cloud": "^4.0.0",
    "gatsby-plugin-google-analytics": "^4.0.0",
    "gatsby-plugin-image": "^2.0.0",
    "gatsby-plugin-react-helmet": "^5.0.0",
    "gatsby-plugin-sharp": "^4.0.0",
    "gatsby-plugin-sitemap": "^5.0.0",
    "gatsby-source-filesystem": "^4.0.0",
    "gatsby-source-shopify": "^6.0.0",
    "gatsby-transformer-sharp": "^4.0.0",
    "isomorphic-fetch": "^3.0.0",
    "lodash.debounce": "^4.0.8",
    "lodash.isequal": "^4.5.0",
    "query-string": "^7.0.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-helmet": "^6.1.0",
    "react-icons": "^4.1.0",
    "shopify-buy": "^2.11.0",
    "tailwindcss": "^3.0.24",
    "twin.macro": "^2.8.2",
    "urql": "^2.0.2"
  },
  "devDependencies": {
    "@tailwindcss/typography": "^0.5.2"
  }

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
ben-rogersoncommented, Jun 1, 2022

Just released rc.2 with typography support! Help test the candidate → https://github.com/ben-rogerson/twin.macro/discussions/679

5reactions
ben-rogersoncommented, Jun 1, 2022

Closing due to the fix made available in the next version (rc.2)

Read more comments on GitHub >

github_iconTop Results From Across the Web

@tailwindcss/typography - Tailwind CSS
The official Tailwind CSS Typography plugin provides a set of prose classes you can use to add beautiful typographic defaults to any vanilla...
Read more >
Tailwind typography not working with multi-column React ...
I'm creating a React app using typescript and attempting to use one of Tailwind's multi-column application shells (this one), and then render ...
Read more >
@tailwindcss/typography | Yarn - Package Manager
A plugin that provides a set of prose classes you can use to add beautiful typographic defaults to any vanilla HTML you don't...
Read more >
tailwindcss/typography/README.md - UNPKG
A plugin that provides a set of `prose` classes you can use to add beautiful typographic defaults to any vanilla HTML you don't...
Read more >
Tailwind typography not working - Laracasts
In episode 4, i'm facing a problem with tailwind typography. I installed tailwind typography, add the plugin to tailwind.config.js and use "prose" class...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found