tailwindcss-dash-docset
tailwindcss-dash-docset copied to clipboard
Reverse index
Would it be possible to add a "reverse index" so that I could lookup the tailwind classes using this docset? It would be helpful to be able to be able to search for "flex-col" and get the documentation like you can on the Tailwind site.
pretty sure it would be possible yeah. the TOC is generated here: https://github.com/godbout/tailwindcss-dash-docset/blob/c846336b4b46143110b470874e394885436301f9/app/Docsets/TailwindCSS.php#L240
so you would just need to grab whatever selector(s) for the attributes that you're looking for. but:
- that will pollute the index/search capabilities
- i have zero time and mental capacity to do it and test, etc. currently
Got it. Thanks for the quick reply. And thanks for making this docset.
let's keep this issue open so that when/if i have time, i have a look.