@docusaurus/types 3.8.1-canary-6352 → 3.8.1-canary-6355

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/package.json +2 -2
  2. package/src/markdown.d.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "3.8.1-canary-6352",
3
+ "version": "3.8.1-canary-6355",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -28,5 +28,5 @@
28
28
  "react": "^18.0.0 || ^19.0.0",
29
29
  "react-dom": "^18.0.0 || ^19.0.0"
30
30
  },
31
- "gitHead": "a3190d2cdcb4d4ab6704dbd8de92868ef67165cb"
31
+ "gitHead": "7ae9abedad811ceda2541c11789266cb66abfbb6"
32
32
  }
package/src/markdown.d.ts CHANGED
@@ -136,6 +136,16 @@ export type MarkdownConfig = {
136
136
  */
137
137
  mermaid: boolean;
138
138
 
139
+ /**
140
+ * Allow remark-emoji to convert emoji shortcodes to Unicode emoji.
141
+ * - `true` (default): enables the remark-emoji plugin to convert shortcodes
142
+ * - `false`: disables the remark-emoji plugin
143
+ *
144
+ * @see https://github.com/rhysd/remark-emoji
145
+ * @default true
146
+ */
147
+ emoji: boolean;
148
+
139
149
  /**
140
150
  * Gives opportunity to preprocess the MDX string content before compiling.
141
151
  * A good escape hatch that can be used to handle edge cases.