this is what i use so far, its obviously not a 100% replica of the typography plugin but looks good enough on my site
/* replace typography plugin */
.prose {
@apply text-gray-700 dark:text-gray-300
}
.prose {
& p {
# Fix Cloudflare 308 trailing comma redrect issue | |
# https://community.cloudflare.com/t/cloudflare-pages-get-rid-of-redundat-308-redirect/324582/29 | |
# https://electricui.com/blog/switching-to-cloudflare-pages#how-to-disable-the-trailing-slash-on-cloudflare-pages | |
find ./dist -name 'index.html' -mindepth 2 -type f \ | |
-exec sh \ | |
-c 'parent="$(dirname "$1")"; mv "$1" "$parent/../$(basename "$parent").html";' \ | |
find-sh {} \; |
this is what i use so far, its obviously not a 100% replica of the typography plugin but looks good enough on my site
/* replace typography plugin */
.prose {
@apply text-gray-700 dark:text-gray-300
}
.prose {
& p {