From 40eed005df98fa3451a092af0d7852fc0109aaf9 Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Wed, 10 May 2023 19:26:27 +0100 Subject: [PATCH] chore: publish v2.1.0 of remark-mermaid-dataurl Added ===== - Add TypeScript types to `remark-mermaid-dataurl` - Use Mermaid titles/descriptions for the output markdown image's title/alt-text, e.g. like: ```markdown ![Mermaid diagram description](data:image/svg+xml;charset=UTF-8,%3Csvg%20id%3D%22mermaid-1654... "Mermaid diagram title") ``` See https://mermaid.js.org/config/accessibility.html for how to add titles and descriptions to your Mermaid diagrams. Dependencies ============ - Add `@types/mdast` and `vfile` as dependencies. We only use these for their types. - Updated `@mermaid-js/mermaid-cli` from `^10.0.0` to `^10.0.2` to use the types added by that release. Signed-off-by: Alois Klink --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba31a9a..ba5127a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.1.0] - 2023-05-10 + ### Added - Add TypeScript types to `remark-mermaid-dataurl` diff --git a/package-lock.json b/package-lock.json index cb5c05e..b3f9589 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "remark-mermaid-dataurl", - "version": "2.0.7", + "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "remark-mermaid-dataurl", - "version": "2.0.7", + "version": "2.1.0", "license": "MIT", "dependencies": { "@mermaid-js/mermaid-cli": "^10.0.2", diff --git a/package.json b/package.json index 5fae7da..889ae98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "remark-mermaid-dataurl", - "version": "2.0.7", + "version": "2.1.0", "description": "A remark plugin for Markdown that replaces mermaid graphs with dataurls", "main": "index.js", "scripts": {