Skip to content

Commit 84a230d

Browse files
committed
Fix MarkdownTracer showing nothing
1 parent a13a18b commit 84a230d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/frontend/apis/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ const TracerApi = {
7676
key: 'markdown',
7777
method: 'set',
7878
args: [code],
79+
}, {
80+
key: null,
81+
method: 'setRoot',
82+
args: ['markdown'],
7983
}]),
8084
json: ({ code }) => new Promise(resolve => resolve(JSON.parse(code))),
8185
js: ({ code }, params, cancelToken) => new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)