We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c8c183 + d41e625 commit e0512c1Copy full SHA for e0512c1
3 files changed
packages/mdx/dev/content/assets/foo.yaml
@@ -0,0 +1 @@
1
+hello: world
packages/mdx/dev/content/external.mdx
@@ -15,6 +15,10 @@ print("not external")
15
# from ./assets/foo.py
16
```
17
18
+```yaml foo.yaml
19
+# from ./assets/foo.yaml
20
+```
21
+
22
<CH.Code>
23
24
```js foo.js
packages/mdx/src/remark/comment-data.ts
@@ -70,6 +70,7 @@ const bashLikeLangs = [
70
"sh",
71
"shell",
72
"python",
73
+ "yaml",
74
"py",
75
]
76
const bashLikeCommentRegex = /#\s+(\w+)(\S*)\s*(.*)/
0 commit comments