Molecular in Markdown is an innovative and powerful system designed to seamlessly embed, display, and interact with chemical information directly within your Markdown documents. No more relying on static images or specialized software; now, your chemical structures, reactions, and properties are as dynamic and shareable as your text.
Leveraging the simplicity and universality of Markdown, Molecular in Markdown transforms standard chemical identifiers (like SMILES and InChI) into rich, interactive visualizations and data points, making scientific communication clearer, more collaborative, and inherently version-controlled.
Integrate single molecules directly into your prose with a simple, human-readable syntax. The system automatically renders a 2D or 3D representation and can extract key properties.
Here's a common painkiller: `mol: CC(=O)Nc1ccccc1C(=O)O [aspirin]`. Or perhaps a solvent: `mol: C(Cl)Cl [dichloromethane]`. You can also specify rendering options: `mol: O=C(Oc1ccccc1C(=O)O)C [aspirin 2D]` `mol: O=C(Oc1ccccc1C(=O)O)C [aspirin 3D]` `mol: O=C(Oc1ccccc1C(=O)O)C [aspirin props]`
When rendered, embedded molecules aren't just static images. Depending on the implementation, they can be:
Beyond just visualizing structures, Molecular in Markdown intelligently parses chemical identifiers to automatically calculate and display relevant molecular properties.
`mol: CCC(=O)O [prop:MW,formula,LogP]` **Example Rendered Output:** * **Structure:** (Interactive 2D/3D render of Propanoic Acid) * **Molecular Weight:** 74.08 g/mol * **Chemical Formula:** CโHโOโ * **LogP:** 0.35
Document multi-step syntheses and reaction mechanisms with clarity. Reactants, reagents, and products are easily separated and visualized.
`rxn: CC(=O)O.HOCH2CH3>>CC(=O)OCH2CH3.H2O [Esterification]` **Example Rendered Output:** (Interactive 2D/3D render of Acetic Acid) + (Interactive 2D/3D render of Ethanol) โ (Interactive 2D/3D render of Ethyl Acetate) + (Interactive 2D/3D render of Water)
Create structured tables of multiple compounds, complete with structures and properties, all within standard Markdown table syntax.
| Compound Name | SMILES | MW | LogP | |---------------|------------------------|--------|------| | Aspirin | `mol: O=C(OC1C...` | 180.16 | 1.19 | | Caffeine | `mol: CN1C=NC2...` | 194.19 | -0.07| | Ethanol | `mol: CCO` | 46.07 | -0.31|
Because your chemical data is stored as plain text within Markdown, it integrates perfectly with Git and other version control systems. Track changes to structures, reactions, and data with ease, making collaborative research truly transparent.
Write your chemical documents once, and render them anywhere Markdown is supported โ web browsers, desktop applications, documentation generators, and more. The underlying chemical data is always preserved.
The system can be extended to support custom rendering engines, specific property calculations, or integrations with external chemical databases (e.g., PubChem, ChEMBL) for richer data retrieval.
Molecular in Markdown operates through a specialized Markdown parser and renderer. When a document containing mol: or rxn: directives is processed:
Transform the way you document and communicate chemistry. Explore Molecular in Markdown and bring your molecules to life in every document.
(Note: "Molecular in Markdown" is a conceptual product description. The actual implementation would require a dedicated Markdown parser/renderer with cheminformatics capabilities, often built using libraries like RDKit, Open Babel, ChemDoodleJS, or Molblock.js.)