Skip to content

Commit 1540a24

Browse files
authored
fix: enable defaultWrapCode on exporting (#164)
1 parent 2351386 commit 1540a24

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/metal-camels-drop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@alauda/doom": patch
3+
---
4+
5+
fix: enable defaultWrapCode on exporting

packages/doom/src/cli/load-config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ const getCommonConfig = async ({
254254
],
255255
},
256256
markdown: {
257+
defaultWrapCode: export_,
257258
shiki: {
258259
transformers: [
259260
// builtin transformers

0 commit comments

Comments
 (0)