Chemtrails

by Altarok
5
4
3
2
1
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Renders SMILES chemical notations as crisp SVG diagrams.

Reviews

No reviews yet.

Stats

stars
15
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Chemtrails

Chemtrails is a lightweight, zero-overhead Obsidian plugin that renders SMILES (Simplified Molecular Input Line Entry System) chemical notations into crisp, responsive vector SVG diagrams natively within your notes.

The plugin acts as a bridge from 'smilesDrawer' of the reymond-group to Obsidian.

Please read their original paper published by the Journal of Chemical Information and Modeling: 10.1021/acs.jcim.7b00425

For a full documentation on how your molecules get drawn, read their README.md.

Features

  • Native SVG Rendering: Renders vector paths directly inside your notes using smiles—no external image generation servers or APIs required.
  • Dynamic ViewBox Framework: Automatically crops empty whitespace around molecules. Small molecules (like Methane) remain naturally small, while large structures (like Caffeine) scale down smoothly to fit your active pane width.
  • Obsidian Theme Integration: Integrates cleanly with default light and dark themes using secondary background color matching.

Usage

Simply wrap any standard SMILES string inside a smiles Markdown code block:

```smiles
CN1C=NC2=C1C(=O)N(C(=O)N2C)C
```

Installation

Community Marketplace

  • Chemtrails in the Obsidian Community Plugins directory.
  • Install and Enable.

Manual Installation

  • Download main.js, manifest.json, and styles.css from the latest release.
  • Move the files into your vault's plugin directory: /.obsidian/plugins/chemtrails/
  • Reload Obsidian plugins and toggle Chemtrails on.

Changelog

0.1.0: Make it work 0.2.0: Add settings, including renaming of Markdown code block identifier and most of the original 'smilesDrawer' options parameters.