markdown-it-smiles
Version:
A markdown-it plugin for rendering SMILES (Simplified Molecular Input Line Entry System) chemical structures
55 lines (40 loc) โข 1.47 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.0] - 2025-05-29
### Added
- Initial release of markdown-it-smiles plugin
- Block-level SMILES rendering with ````smiles` syntax
- Inline SMILES rendering with `$smiles{...}` syntax
- Configurable rendering options (width, height, bond thickness, etc.)
- Automatic inclusion of required CSS styles and JavaScript
- Support for custom smilesDrawer options
- Responsive design with mobile support
- Error handling for invalid SMILES strings
- Browser and Node.js compatibility
- Comprehensive test suite
- Complete documentation and examples
### Features
- ๐งช Block-level SMILES rendering with customizable options
- ๐ฌ Inline SMILES rendering for seamless text integration
- โ๏ธ JSON-based configuration for rendering options
- ๐จ Responsive canvas-based rendering
- ๐ High performance with lazy loading
- ๐ฑ Cross-platform compatibility
- ๐ก๏ธ Error handling and validation
- ๐ฏ TypeScript-friendly (implicit)
### Dependencies
- markdown-it >= 8.0.0
- smiles-drawer ^2.1.7
### Browser Support
- Chrome 60+
- Firefox 55+
- Safari 12+
- Edge 79+
## [Unreleased]
### Planned
- SVG/PNG rendering support
- Dark theme support
- Additional atom visualization modes
- TypeScript definitions