Skip to content

Releases: Acylation/obsidian-chem

0.4.0

11 Mar 08:58
8510086
Compare
Choose a tag to compare

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: 0.3.0...0.4.0

0.3.0

25 Dec 08:48
f669938
Compare
Choose a tag to compare

What's Changed

Copy image

Now you can right-click on image to find Copy feature!

Support dataview queries and dataview js lines in smiles blocks

Enable this in the settings tab, and you can write DQL/DataviewJS to query strings as the structure feed!

Warning

Please only put trusted code for DataviewJS rendering!

example | 400

Full Changelog: 0.2.1...0.3.0

0.2.1

08 Aug 17:31
54b1d05
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.0...0.2.1

0.2.0

16 Jul 14:53
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.2...0.2.0

0.1.2

05 May 09:00
dd88d06
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.1...0.1.2

0.1.1

29 Apr 09:27
ace9e2b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.0...0.1.1

0.1.0

29 Apr 08:54
6fc40e8
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/Acylation/obsidian-chem/commits/0.1.0