mirror of
https://github.com/nellowtcs/Obsidian-IroView.git
synced 2026-07-22 06:56:57 +00:00
No description
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.1.0 to 26.1.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 26.1.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .github | ||
| src | ||
| .all-contributorsrc | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| esbuild.config.mjs | ||
| eslint.config.mjs | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Obsidian-IroView
Preview HEX, HSL, and RGB colors directly in your Obsidian notes, just like VSCode's color preview.
Available on Obsidian!
Features
- Color preview: Instantly see color swatches for HEX, RGB(A), and HSL(A) values in your notes
- Live in editor and reading view: Works in both editing and preview modes
- Customizable: Toggle swatches, text colorization, and supported formats
- Contrast-aware: Only colorizes text if it remains readable
- Performance optimized: Efficiently processes large notes
Supported Formats
- HEX:
#RGB,#RRGGBB,#RGBA,#RRGGBBAA - RGB/RGBA:
rgb(255, 0, 0),rgba(255, 0, 0, 0.5) - HSL/HSLA:
hsl(120, 100%, 50%),hsla(120, 100%, 50%, 0.5)
Settings
- Show color swatch: Display a small colored square before color values
- Colorize text: Apply the color to the text itself (if contrast is good)
- Enable in reading view: Show previews in rendered Markdown
- Supported color formats: Toggle which color formats are recognized
Example
Type any of these in your note:
#ff0000
rgb(255, 0, 0)
hsl(0, 100%, 50%)
And see a color preview appear inline!
Installation
Direct (Recommended)
You can install IroView directly from Obsidian’s Community Plugins browser (or online here).
- Open Settings -> Community Plugins
- Make sure Restricted Mode is off
- Click Browse
- Search for “IroView”
- Click Install, then Enable
Manual
If you prefer installing manually:
- Download the latest release from the repo’s Releases page
- You need:
main.jsmanifest.jsonstyles.css(if present)
- You need:
- Create a folder in your vault:
.obsidian/plugins/iroview - Place all downloaded files inside that folder
- Restart Obsidian
- Go to Settings -> Community Plugins and enable IroView
Technical Details
- Built with TypeScript and CodeMirror 6
- Uses Obsidian's popout-compatible
activeDocumentfor DOM operations - Efficient regex-based color detection