swup / docs

Official swup documentation 📘
https://swup.js.org/getting-started
12 stars 35 forks source link

Info boxes #126

Closed hirasso closed 1 year ago

hirasso commented 1 year ago

Description

Convert blockquotes starting with <strong>Note/Info/Warning</strong> to info boxes. Mimics GitHub's automatic parsing behavior. Preview:

image

Checks

daun commented 1 year ago

Whoop whoop 🚀 Do we want rounded corners here as well?

hirasso commented 1 year ago

I tried it, doesn't work well with the border on the left.

daun commented 1 year ago

Maybe by wrapping a non-rounded container in another rounded container that has overflow: hidden? The border wouldn't follow the curve then.

daun commented 1 year ago

It's fine as-is, really. I was just wondering.

hirasso commented 1 year ago

Feel free to play around with it after merging