nuxt-themes / typography

Beautifully customizable Prose components for Nuxt Content.
https://typography.nuxt.space
MIT License
164 stars 7 forks source link

List: nested broken and with long content #17

Closed atinux closed 1 year ago

atinux commented 1 year ago

Markdown:

- first item
- second item
  - nested item
- Another item
- **I often do this thing where list items have headings.**

  For some reason I think this looks cool which is unfortunate because it's pretty annoying to get the styles right.

  I often have two or three paragraphs in these list items, too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way.
- Last item

See result on https://typography.nuxt.space/example

To reproduce, run npm run dev and go to http://localhost:3000/example

See the same HTML applied with Tailwind prose: https://play.tailwindcss.com/QltRgFhkwd

CleanShot 2022-11-28 at 14.17.19@2x.png

Tahul commented 1 year ago

@bdrtsky ; have you had time to look at this?