Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

ChemHover

TiagoTiago2 downloads

Hover over marked chemical names to see their structures and properties.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

ChemHover is an Obsidian community plugin that looks up marked chemical names in PubChem and displays a chemical structure and properties on hover. It prefers a Wikipedia structure image when available and falls back to a local RDKit rendering. Cached compounds remain available offline.

Use

Write a single-word name with shorthand syntax:

\ch Aspirin

Use braces for names containing spaces:

\ch{Acetylsalicylic acid}

The source Markdown is not changed. Tokens are recognized in Reading view and Live Preview, outside code spans/blocks and math. When PubChem returns multiple compounds, choose the intended result from the selection list; that association is saved for subsequent uses. Expand Details below the image to view the compound name and properties, cycle through Wikipedia structure matches with the buttons or left/right arrow keys while hovering, or select Use RDKit to switch to the local rendering.

Development

Requires Node.js and npm:

npm install
npm run typecheck
npm run build

The build embeds a gzip-compressed RDKit MinimalLib WebAssembly module in main.js. For local testing, copy manifest.json, main.js, and styles.css to <vault>/.obsidian/plugins/chemhover/, then enable ChemHover in Obsidian. npm run dev rebuilds the plugin when source files change. CodeMirror and Lezer packages are kept external so the editor extension uses Obsidian's runtime instances instead of bundling duplicates.

Use the Refresh chemical cache from PubChem command to update saved data, or Clear chemical cache to remove cached records and aliases. Failed name lookups are cached for 24 hours; transient request failures are not.

Implementation

  • src/parser/ recognizes the explicit \ch syntax.
  • src/pubchem/ resolves names and asks the user to disambiguate PubChem matches.
  • src/wikipedia/ looks up Wikipedia structure images and their source pages.
  • src/database/ persists chemical records, aliases, and temporary failed lookups using Obsidian plugin data storage.
  • src/renderer/ uses RDKit MinimalLib to generate and cache fallback SVG structures.
  • src/hover/ displays the local structure and compound details.

PubChem lookups require an internet connection the first time a name is seen. Wikipedia images require an internet connection. If no suitable image is found or the image cannot be loaded, the molecule SVG is generated on-device from cached SMILES; no structure image is downloaded from PubChem.

ChemHover is licensed under GPL-3.0-only. The bundled RDKit MinimalLib WebAssembly module remains under its BSD 3-Clause License; see LICENSES/RDKit.txt.

HealthExcellent
ReviewSatisfactory
About
Lookup marked chemical names in PubChem and display chemical structures and properties on hover using the \ch and \ch{...} shorthand in Reading view and Live Preview. Prefer Wikipedia structure images and fall back to local RDKit rendering, cache results for offline use, and save disambiguated matches for future tokens.
ScienceAnnotation
Details
Current version
0.1.1
Last updated
9 hours ago
Created
Yesterday
Updates
2 releases
Downloads
2
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
GPL-3.0
Report bugRequest featureReport plugin
Author
TiagoTiagotiaguinho-code
GitHubtiaguinho-code
  1. Community
  2. Plugins
  3. Science
  4. ChemHover

Related plugins

Admonition

Admonition block-styled content.

HiNote

Add comments to highlighted notes, use AI for thinking, and flashcards for memory.

Sidebar Highlights and Tasks

View and manage text highlights, comments on highlights, native comments, and collections for your highlights.

Always Color Text

Automatically colors and highlights texts across the vault.

Kindle Highlights

Sync your Kindle book highlights using your Amazon login or uploading your My Clippings file.

Markmind

Mind map, outline and PDF annotation tool. (Closed source)

Document Comments

Notion-style margin comments stored inline in your markdown, so agents and other tools can read them too.

Chessboard Viewer

Render chess positions diagrams in note preview.

Image Layouts

Add beautiful image layouts to your notes.

Epub Importer

Import EPUB files as Markdown.