Skip to content

Conversation

@jmilljr24
Copy link
Collaborator

add prose to rich text

  • This work Closes [link an issue]

What is the goal of this PR and why is this important?

The official Tailwind CSS Typography plugin 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.

This PR adds the plugin and adds the class to the workshop rendered html.

How did you approach the change?

Anything else to add?

Now you can use the prose classes to add sensible typography styles to any vanilla HTML:

<article class="prose lg:prose-xl">
  <h1>Garlic bread with cheese: What the science tells us</h1>
  <p>
    For years parents have espoused the health benefits of eating garlic bread with cheese to their
    children, with the food earning such an iconic status in our culture that kids will often dress
    up as warm, cheesy loaf for Halloween.
  </p>
  <p>
    But a recent study shows that the celebrated appetizer may be linked to a series of rabies cases
    springing up around the country.
  </p>
  <!-- ... -->
</article>
screenshot-2025-12-12_10-15-00

add prose to rich text
@jmilljr24
Copy link
Collaborator Author

@maebeale I see we have both package.json and yarn.lock - I don't think we need or should have both. The docker build for production is setup to use npm with package.json. Should I delete the yarn.lock so we only use one package manager in this project?

@jmilljr24 jmilljr24 requested a review from maebeale December 12, 2025 15:25
@maebeale
Copy link
Collaborator

@jmilljr24 yes, 100% re yarn.lock

Copy link
Collaborator

@maebeale maebeale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NICE solve for this problem, @jmilljr24 !!!

i'll make an issue to add this to the other show pages too

@jmilljr24 jmilljr24 merged commit 14c1531 into main Dec 14, 2025
2 checks passed
@jmilljr24 jmilljr24 deleted the add-tailwind-typography branch December 14, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants