v0.9.0
This is a minor feature release.
New Markdown syntax
We've migrated over to posthtml-markdown
, please see the updated Markdown docs.
Basically, you'll now add Markdown like this:
<markdown>This Markdown will be **compiled** to HTML</markdown>
<md>There's also a _shorter_ version of the tag above.</md>
Or like this:
<div markdown>This Markdown will be **compiled** to HTML</div>
<p md>There's also a _shorter_ version of the tag above.</p>
Transform Contents
This is a very cool feature in 0.9.0
. It was previously used only to compile Tailwind CSS directives like @apply
, with PostCSS, but we've now opened it up so you can:
- add a custom attribute on an element
- associate it with a function that transforms the content inside that element 💥
Learn more about it in the Transform Content docs.
Support dots in utility class names
Since Tailwind UI was released, some might want to use names like '2.5'
for (spacing?) utilities.
This release adds support for that - see docs.
<style postcss>
You'll now need to use a postcss
attribute on <style>
tags that you want to use Tailwind CSS inside of (docs):
- <style tailwind>
+ <style postcss>