-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow classes like a:b/c with @@ #950
Conversation
Nice one, thanks @xukai92, happy to add that, also this should still work fine with Franklin.jl/src/converter/markdown/blocks.jl Lines 39 to 40 in 43e23a1
so should be good. I'll add a note in the docs and will do a patch release with it. Ps: will be good to see what you do with tailwind, do you already have a repo? |
I'm currently re-building the Turing.jl website using Franklin.jl. |
Nice one, so you'll use the base |
Ah no I see https://github.com/xukai92/beta.turing.ml/commit/51cf53527454bc8110d97dc66fa9f79b65406172 I played a bit with tailwindcss but wasn't using their JS build, rather just using the full CSS for development, then using purgecss to trim it down to a few kb post build. |
I think what you do is the recommanded way from Tailwind's offical website---I simply did the easiest thing to get started. |
So what I do (I personally prefer bootstrap but tried tailwind to check):
Note: with tailwind the purgecss default extractor doesn't work well, you have to change the regex a little bit to include This is the config file I used with the tailwind case: https://github.com/tlienart/GLEPlot.jl/blob/docs2/docs2/tailwind.config.js The result is usually under 10kb |
That's super useful! Thanks for sharing this! |
Tailwind CSS (https://tailwindcss.com/) is a perfect match for
@@
but it has a many class names likehover:basis-1/2
that the parser failed to reconize due to pre-matured end-of-token.This PR fixes this issue.