` tag unless there are multiple paragraphs in the list item. That means I have to worry about styling that annoying situation too. + +- **For example, here's another nested list.** + + But this time with a second paragraph. + + - These list items won't have `
` tags + - Because they are only one line each + +- **But in this second top-level list item, they will.** + + This is especially annoying because of the spacing on this paragraph. + + - As you can see here, because I've added a second line, this list item now has a `
` tag. + + This is the second line I'm talking about by the way. + + - Finally here's another list item so it's more like a list. + +- A closing list item, but with no nested list, because why not? + +And finally a sentence to close off this section. + +## We didn't forget about description lists + +Well, that's not exactly true, we first released this plugin back in 2020 and it took three years before we added description lists. But they're here now, so let's just be happy about that…okay? They can be great for things like FAQs. + +
${label}
`
+}
+
+function getIcon(lang?: string) {
+ const icon = iconMap[lang || 'plaintext'] || iconMap['plaintext']
+ const textSize = icon === iconMap['plaintext'] ? 'text-5xl' : 'text-2xl'
+
+ return ``
+}
+
+function generateHeader(label?: string, lang?: string) {
+ return `