@slidev/types 52.3.0 → 52.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.mts +12 -0
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -564,6 +564,18 @@ interface HeadmatterConfig extends TransitionOptions {
564
564
  * @default {}
565
565
  */
566
566
  seoMeta?: SeoMeta;
567
+ /**
568
+ * Auto replace words with `<ruby>` tags in notes
569
+ *
570
+ * @default {}
571
+ *
572
+ * @example
573
+ * ```yaml
574
+ * notesAutoRuby:
575
+ * 大丈夫: だいじょうぶ
576
+ * ```
577
+ */
578
+ notesAutoRuby?: Record<string, string>;
567
579
  }
568
580
  interface Frontmatter extends TransitionOptions {
569
581
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "52.3.0",
3
+ "version": "52.4.0",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",