diff --git a/lib/transform.mjs b/lib/transform.mjs
index 924972d..6db3711 100644
--- a/lib/transform.mjs
+++ b/lib/transform.mjs
@@ -30,7 +30,7 @@ function styleAst(width) {
computed: false,
key: {
type: 'Identifier',
- name: 'midWidth',
+ name: 'minWidth',
},
value: {
type: 'Literal',
diff --git a/package.json b/package.json
index b7da209..3cb8ee4 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "remark-kroki",
- "version": "0.3.3",
+ "version": "0.3.4",
"description": "Remark plugin for showing Kroki diagram",
"license": "MIT",
"author": {
diff --git a/test/snapshots/output.mjs.md b/test/snapshots/output.mjs.md
index b12570f..104f978 100644
--- a/test/snapshots/output.mjs.md
+++ b/test/snapshots/output.mjs.md
@@ -169,7 +169,7 @@ Generated by [AVA](https://avajs.dev).
children: [
{
type: 'html',
- value: '',
+ value: '',
},
],
type: 'paragraph',
@@ -178,7 +178,7 @@ Generated by [AVA](https://avajs.dev).
> result
- ''
+ ''
## img-html-base64 | mdx3
@@ -226,7 +226,7 @@ Generated by [AVA](https://avajs.dev).
{
computed: false,
key: {
- name: 'midWidth',
+ name: 'minWidth',
type: 'Identifier',
},
kind: 'init',
@@ -307,13 +307,13 @@ Generated by [AVA](https://avajs.dev).
[
{
type: 'html',
- value: '',
+ value: '',
},
]
> result
- ''
+ ''
## object-base64 | mdx3
@@ -364,7 +364,7 @@ Generated by [AVA](https://avajs.dev).
{
computed: false,
key: {
- name: 'midWidth',
+ name: 'minWidth',
type: 'Identifier',
},
kind: 'init',
diff --git a/test/snapshots/output.mjs.snap b/test/snapshots/output.mjs.snap
index 3013b29..6a20099 100644
Binary files a/test/snapshots/output.mjs.snap and b/test/snapshots/output.mjs.snap differ