Document how to use @tailwindcss/typography in Code Components
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3572652. --> Reported by: [balintbrews](https://www.drupal.org/user/613760) Related to !593 >>> <h3>Overview</h3> <p>The <a href="https://github.com/tailwindlabs/tailwindcss-typography"><code>@tailwindcss/typography</code></a> plugin is now supported thanks to <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3553356" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3553356</a></span>. Document how to use it in Code Components.</p> <h3>Proposed resolution</h3> <p>Document at <a href="https://project.pages.drupalcode.org/canvas/code-components/packages/#built-in-custom-packages">https://project.pages.drupalcode.org/canvas/code-components/packages/#built-in-custom-packages</a> (<a href="https://git.drupalcode.org/project/canvas/-/blob/c858ee8cc235922c5c327792f38475debe8dfdde/docs/user/src/content/docs/code-components/packages.mdx"><code>docs/user/src/content/docs/code-components/packages.mdx</code></a>) and/or add a new page.</p> <ol> <li>Add an example of using the built-in <code>FormattedText</code> component with a <code>className</code> attribute that has the <code>prose</code> class and other utility classes.</li> <li>Review the <a href="https://github.com/tailwindlabs/tailwindcss-typography?tab=readme-ov-file"><code>README</code> of <code>@tailwindcss/typography</code></a> and document how those techniques apply in Canvas.</li> </ol> > Related issue: [Issue #3553356](https://www.drupal.org/node/3553356)
issue