Coralite v0.6.6
Coralite v0.6.6 enhances HTML parsing, template processing, and developer tools for static site generators, improving reliability and flexibility in website creation.
Coralite’s latest release introduces improvements in template processing and HTML parsing, enhancing reliability and flexibility for developers using the HTML module static site generator.
Core Functionality
- Enhanced HTML parsing capabilities through a reusable
parseHTMLutility function, enabling consistent token extraction and rendering across templates. This includes support for parsing HTML within tokens and appending rendered content to custom element slots. - Resolved an issue where computed slot token parameters incorrectly excluded attribute values, ensuring accurate data handling during template processing.
- Exported the current document context to template rendering pipelines, improving access to contextual metadata for dynamic content generation.
- Updated type definitions in
CoraliteModuleValuesto align with recent API changes, enhancing code clarity and type safety across modules.
Get the release
npm install coralite@0.6.6
For detailed information on all changes, refer to the git v0.6.6 changelog.