SMILES 2D Molecular Structure macro
The simplified molecular-input line-entry system (SMILES) is a specification in the form of a line notation for describing the structure of chemical species using short ASCII strings.
The SMILES macro renders strings in SMILES format into two-dimensional drawings of the molecules.
How to use
In the Confluence editor, type /smiles and select SMILES 2D Molecular Structure.
The macro properties panel will appear.
Add your SMILES Text and width and height:
Save the Confluence page and the 2D Molecular Structure will be rendered.
Examples of SMILES notation and the macro output
Some examples of the SMILES 2D Molecular Structure macro:
Phenol
SMILES text:
C1=CC=C(C=C1)O
Macro output:
Reaction SMILES • Example 1
SMILES text:
C=CCBr.[Na+].[I-]>CC(=O)C>C=CCI.[Na+].[Br-] __{'textBelowArrow': '90%'}__
Macro output:
Reaction SMILES • Example 2
SMILES text:
CC(=O)O.OCC>[H+].[Cl-].OCC>CC(=O)OCC
Macro output:
Aspirin
SMILES text:
Macro output:
Codeine
SMILES text:
Macro output:
Glucose
SMILES text:
Macro output:
Beta-carotene
SMILES text:
Macro output:
Melatonin
SMILES text:
Macro output: