mathpix-markdown-it icon indicating copy to clipboard operation
mathpix-markdown-it copied to clipboard

Add the ability for the user to choose how the aromatic ring is displayed

Open OlgaRedozubova opened this issue 4 years ago • 0 comments

The ability to display alternating double and single lines for aromatic rings was added in mmd version 1.0.32 for this issue https://github.com/Mathpix/mathpix-markdown-it/issues/103

Need to add users the ability to choose how the aromatic ring is displayed (circle or lines) For example for inline: <smiles ring = 'circle'>Cc1cc2c(cc1C)[n+]([O-])c(C#N)c(NS(=O)(=O)c3ccc4ccccc4c3)[n+]2[O-]</smiles> Снимок экрана 2020-11-12 в 18 39 36

<smiles>Cc1cc2c(cc1C)[n+]([O-])c(C#N)c(NS(=O)(=O)c3ccc4ccccc4c3)[n+]2[O-]</smiles> Снимок экрана 2020-11-12 в 18 39 27

Also need to add it on block:

```smiles(circle)
Cc1cc2c(cc1C)[n+]([O-])c(C#N)c(NS(=O)(=O)c3ccc4ccccc4c3)[n+]2[O-]
```

@nicodjimenez @montanaflynn @iammosespaulr Please let me know what you think about it.

OlgaRedozubova avatar Nov 13 '20 14:11 OlgaRedozubova