Skip to content

Releases: singhaf9270/obsidian-highlight-reference

v1.0.2 — Mobile Fix & Generalized Terminology

Choose a tag to compare

@singhaf9270 singhaf9270 released this 25 Sep 10:45
2189eb4

🎉 What's changed in 1.0.2

🐛 Bug Fixes

  • Mobile modal under keyboard — the add/edit modal now stays above the on-screen keyboard on mobile devices.
  • Transparent modal background — fixed the modal appearing without a background on some devices.
  • Plugin load failure — fixed a syntax error that caused failed to load on startup.

✨ Improvements

  • Generalized terminology — the plugin now uses broader, more accurate terms:
    • «واژه‌نامه» → «مرجع»
    • «واژه» → «عنوان»
    • «معنی» → «توضیح»
    • Glossary → Reference
    • Word → Title
    • Meaning → Description
  • Renamed settings labels, modals, and tooltips to reflect the plugin's broader use cases (glossaries, flashcards, term lists, note indexes, etc.).

⚡ Technical

  • Migrated to Platform.isMobile for better cross-platform detection.
  • Integrated the visualViewport API for keyboard-aware modal positioning on mobile.
  • Added proper event listener cleanup in onClose to prevent memory leaks.
  • Compressed the codebase for faster load times.

📱 Mobile Improvements

  • Modal positioned at the top of the screen (4vh).
  • Max height limited to 70vh — never overlaps the keyboard.
  • Sticky Save / Cancel buttons at the bottom.
  • Textarea auto-scrolls into view when focused.

🔁 Spaced Repetition Compatibility

  • Confirmed full compatibility with the Spaced Repetition plugin.
  • Use the same reference note for flashcards by adding #flashcard at the end of each line.

📋 Full Changelog

v1.0.1

  • Improved README documentation with bilingual instructions.
  • Removed the unsupported data.json file from the release assets.
  • Updated the plugin version to 1.0.1.

v1.0.0 — Initial Release

  • Display meanings for ==highlighted== words.
  • Use a reference note declared in the current note's frontmatter.
  • Quickly add missing words to the reference.
  • Support for English and Persian text.

📦 Installation

From Community Plugins:

  1. Open Obsidian → Settings → Community Plugins
  2. Browse → search Highlight Reference
  3. Install → Enable

Manual:
Download main.js, manifest.json, and styles.css below and place them in .obsidian/plugins/highlight-reference/.

BRAT: