Commit 8d37b31
fix(ADR-0046): enable Tailwind typography so Markdown docs render styled (#1687)
plugin-markdown's MarkdownImpl renders Markdown inside
`prose prose-h1:text-3xl prose-h2:text-2xl …`, but the console never registered
@tailwindcss/typography — so every `prose` utility was a no-op. Result: the
/docs/<name> viewer rendered its `# Heading` at body text size with no list
markers or spacing (looked unstyled / "title not showing").
Register the plugin in index.css (`@plugin '@tailwindcss/typography'`) and add
the devDependency. Verified live: doc h1 now renders 30px/600 (was body-sized),
paragraphs/inline-code/links styled with proper hierarchy.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 893e530 commit 8d37b31
4 files changed
Lines changed: 47 additions & 9 deletions
File tree
- .changeset
- apps/console
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
4 | 11 | | |
5 | 12 | | |
6 | 13 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments