Chem
by Acylation
Score: 37/100
favorite
share
Description
Category: Learning & Knowledge Management

The Chem plugin enables seamless integration of chemistry into Obsidian by allowing users to render chemical structures directly from SMILES strings. It supports rendering both in code blocks and inline, with customizable scaling, theming, and export options. The plugin leverages powerful tools like Smiles Drawer and RDKit.js to generate precise chemical diagrams, making it ideal for researchers and students documenting chemical data. Additional features include integration with Dataview for dynamic queries and compatibility with various structure editors and translators. This plugin is a versatile tool for creating and managing chemistry-related notes in Obsidian.

Stats
91
stars
11,580
downloads
7
forks
671
days
313
days
360
days
52
total PRs
2
open PRs
0
closed PRs
50
merged PRs
31
total issues
16
open issues
15
closed issues
15
commits
Latest Version
a year ago
Changelog

What's Changed

Inline SMILES

This update provides rendering of inline SMILES, in both LivePreview mode and Reading mode. The inline blocks can be embeded into tables and callouts. You can also set your own prefix for the inline syntax.

`$smiles=CCCCCC`

Limitations

  • The context menu of inline smiles are overrided by table/callouts or not yet implemented. Will find ways to solve this.
  • Inline elements won't get automatically updated on settings are modified sometimes. Please close and reopen the note to apply new settings.

RDKit.js integration

Now we have a new structure renderer RDKit.js. There are some differences between it and the existing SmilesDrawer core and you can choose one based on your use case.

Feature RDKit.js SmilesDrawer
Render molecules
Render reactions ⭕ - poor theming
Radical support ×
Chiral carbon
Allene like chiralty ×
Heteroatom bond color cut-off gradients

[!Note]
If you want to utilize RDKit.js, Chem plugin would try to fetch RDKit_minimal.js and RDKit_minimal.wasm files from release. If you have problem connecting GitHub, please download them manully and put them in the directory [yourvault]/.obsidian/plugins/chem/rdkit/ for recognization and loading.

[!Warning]
Due to file system issue, the iOS platform can't load asset resources, so I banned the rdkit loading for iOS and try to introduce unpkg distribution in the coming days.

Full Changelog: https://github.com/Acylation/obsidian-chem/compare/0.3.0…0.4.0

README file from