Release v0.3.0: configurable callout/highlight colors + world-scoped settings#15
Conversation
Adds transformHighlights() to obsidian.js which replaces ==text== with <mark>text</mark> before markdown parsing. Wired into the Obsidian processing pipeline in convert(), controlled by the existing processObsidian setting. Updates dialog and settings hints in en/fr. Closes #12
feat: support Obsidian ==highlight== syntax as <mark> elements
…to top of module settings panel
…ttern (footer part, _preparePartContext); move menu to bottom
…d collided with the injected style element)
…d-highlight class
The colors = {} default only catches undefined, not null. A cleared or
corrupted calloutColors setting (passed via applyCalloutColors on ready)
would make colors[type] / colors.highlight throw. Coerce non-objects to {}.
The .md-highlight rule hardcoded color: #000, which is unreadable on dark user-chosen --md-highlight-bg values. Compute a WCAG-luminance foreground (#000/#fff) in buildCalloutColorCss, emit --md-highlight-fg, and consume it in CSS with a #000 fallback for the pre-palette state.
Settings improvements: GM-controlled world settings, callout & highlight colors
|
Warning Review limit reached
More reviews will be available in 33 minutes and 14 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (10)
📒 Files selected for processing (15)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Promotes
developtomainfor the v0.3.0 release. Two feature branches landed since v0.2.1 (feature-highlight-syntax#13,feature-settings#14), plus tooling and docs.Added
callout-color-menu.js,callout-colors.js,templates/callout-color-menu.hbs)==highlight==now renders as<mark class="md-highlight">, themeable via the new color setting.eslint.config.js).Changed
Tooling / Docs
release.sh: syncpackage.jsonversion withmodule.json; includetemplates/in the release zip.docs/superpowers/.Test plan
npm testpasses (new suites:callout-colors.test.js,menu-button.test.js, extendedconvert/obsidiantests)[0.3.0] - 2026-05-29entry (validated byrelease.sh)Release follow-up
After merge, run
./release.shfrommainto tagv0.3.0and trigger the FoundryVTT publish workflow.