diff --git a/.changeset/curly-maps-collect.md b/.changeset/curly-maps-collect.md deleted file mode 100644 index db6794a2..00000000 --- a/.changeset/curly-maps-collect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@r4ai/remark-callout": minor ---- - -Don't render callout body when it is empty. diff --git a/.changeset/fresh-mirrors-walk.md b/.changeset/fresh-mirrors-walk.md deleted file mode 100644 index 4f22af8f..00000000 --- a/.changeset/fresh-mirrors-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@r4ai/remark-callout": minor ---- - -Add `options.titleInner` to specify the HTML element that wraps the text of the callout title diff --git a/.changeset/gentle-drinks-relate.md b/.changeset/gentle-drinks-relate.md deleted file mode 100644 index f0045573..00000000 --- a/.changeset/gentle-drinks-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@r4ai/remark-callout": minor ---- - -Don't render an empty paragraph when the callout body is empty diff --git a/.changeset/tidy-rats-hide.md b/.changeset/tidy-rats-hide.md deleted file mode 100644 index e7bba3e7..00000000 --- a/.changeset/tidy-rats-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@r4ai/remark-callout": minor ---- - -Fixed an issue where the body was rendered as the title in callouts with a title consisting only of line breaks diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 1cb8b5ec..27b5f8ed 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -21,7 +21,7 @@ "@mdx-js/loader": "^3.0.1", "@mdx-js/react": "^3.0.1", "@next/mdx": "^14.2.3", - "@r4ai/remark-callout": "^0.5.0", + "@r4ai/remark-callout": "^0.6.0", "@tailwindcss/typography": "^0.5.13", "@types/mdx": "^2.0.13", "@types/node": "^20", diff --git a/packages/remark-callout/CHANGELOG.md b/packages/remark-callout/CHANGELOG.md index e7350537..550fec64 100644 --- a/packages/remark-callout/CHANGELOG.md +++ b/packages/remark-callout/CHANGELOG.md @@ -1,5 +1,17 @@ # @r4ai/remark-callout +## 0.6.0 + +### Minor Changes + +- [#146](https://github.com/r4ai/remark-callout/pull/146) [`ca1e884`](https://github.com/r4ai/remark-callout/commit/ca1e884790446751e1d536e44827c3fa111eb4db) Thanks [@r4ai](https://github.com/r4ai)! - Don't render callout body when it is empty. + +- [#149](https://github.com/r4ai/remark-callout/pull/149) [`93b6571`](https://github.com/r4ai/remark-callout/commit/93b65711c02a2fad2ea20572f57d58f7462f7b1b) Thanks [@r4ai](https://github.com/r4ai)! - Add `options.titleInner` to specify the HTML element that wraps the text of the callout title + +- [#144](https://github.com/r4ai/remark-callout/pull/144) [`fe26ccb`](https://github.com/r4ai/remark-callout/commit/fe26ccb071624eec4f7dace1b0a6ab6c12759aab) Thanks [@r4ai](https://github.com/r4ai)! - Don't render an empty paragraph when the callout body is empty + +- [#150](https://github.com/r4ai/remark-callout/pull/150) [`156f660`](https://github.com/r4ai/remark-callout/commit/156f6602a49da26e6b163d43583abc4290f83008) Thanks [@r4ai](https://github.com/r4ai)! - Fixed an issue where the body was rendered as the title in callouts with a title consisting only of line breaks + ## 0.5.0 ### Minor Changes diff --git a/packages/remark-callout/package.json b/packages/remark-callout/package.json index 49aceea2..861b6707 100644 --- a/packages/remark-callout/package.json +++ b/packages/remark-callout/package.json @@ -1,6 +1,6 @@ { "name": "@r4ai/remark-callout", - "version": "0.5.0", + "version": "0.6.0", "description": "A remark plugin to add obsidian style callouts to markdown", "author": "rai", "keywords": [