{"repo":"nicholas-wilcox/tailwind-snippet-obsidian-plugin","free":true,"listed":false,"github":"https://github.com/nicholas-wilcox/tailwind-snippet-obsidian-plugin","clone":"git clone https://github.com/nicholas-wilcox/tailwind-snippet-obsidian-plugin.git","description":"An Obsidian plugin that enables usage of Tailwind CSS.","language":"TypeScript","stars":30,"topics":["obsidian","obsidian-plugin","tailwindcss"],"license":"MIT","category":"productivity","readme_excerpt":"Tailwind Snippet Obsidian Plugin This plugin uses TailwindCSS as a PostCSS plugin to generate a CSS snippet in your Obsidian vault. Disclaimer This repository and its author are not affiliated with Tailwind. How it works This plugin implements Tailwind's PostCSS installation guide with the postcss JavaScript API. This produces a CSS snippet which you must manually enable once it is created. This snippet will automatically update based on changes to your files and settings. This plugin makes use of the FileSystemAdapter API to read and write files in your vault's configuration directory. This plugin adds a ribbon icon that allows you to manually trigger a refresh of the generated CSS snippet. This can be useful when non-Markdown files contain Tailwind classes. If you aren't seeing changes that you expect, you may need to manually restart the plugin. Note on Tailwind versions This plugin is made with Tailwind v3. There are no plans to update this plugin to work with the latest Tailwind version, v4. Briefly put, Tailwind v4 has sufficiently refactored and optimized the PostCSS plugin method of using Tailwind, such that it is difficult if not impossible for me to reconcile Tailwind v4 with the Obsidian runtime environment (i.e., Electron). For those who are curious, you are welcome to clone this repository, upgrade to the latest Tailwind version, and observe the resulting esbuild errors. Settings Preflight Preflight is a set of base styles that Tailwind injects into its @tailwind","default_branch":null,"files":null,"tree":[],"storefront":"/r/nicholas-wilcox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nicholas-wilcox/tailwind-snippet-obsidian-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}