Skip to content

Commit 488dd45

Browse files
authored
Merge pull request #6 from mintlify/ronan/expand-remaining-options
fix: expand remaining mdxOptions
2 parents 401b26a + c0d3315 commit 488dd45

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mintlify/mdx",
3-
"version": "0.0.45",
3+
"version": "0.0.46",
44
"description": "Markdown parser from Mintlify",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

src/server/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const getCompiledMdx = async ({
2222
try {
2323
const serializedResponse = await serialize(source, {
2424
mdxOptions: {
25+
...mdxOptions,
2526
remarkPlugins: [
2627
remarkGfm,
2728
remarkSmartypants,

0 commit comments

Comments
 (0)