obsidian-chem icon indicating copy to clipboard operation
obsidian-chem copied to clipboard

Assign a number or name under the structure

Open stan1233 opened this issue 1 year ago • 2 comments

What would you like to be added?

It would be great if, like most organic chemistry review journals, we could assign a number to the structure of compounds. I plan to draft in Obsidian. image

Why is this needed?

No response

stan1233 avatar May 05 '24 12:05 stan1233

In rdkit.js, we have a legend option and corresponding legendColour and legendFontSize settings.

Will check

  • If the smiles drawer package have the same
  • Where to store the legend info
  • Expose legend input on chem drawings

Acylation avatar May 05 '24 16:05 Acylation

I've messed around with the plugin and made it work. The name property is valid syntax for SMILES parsers, including RDKit:

C1([Cl])=CC=CC(C(=O)O[OH])=C1 mCPBA

I'll look for an equivalent in smilesdrawer and clean some stuff up before making a pull request.

mimvoid avatar Dec 14 '24 23:12 mimvoid