-
I am encountering an error while using the `rehype-pretty-code` package in a Next.js project, specifically when utilizing the `transformerCopyButton` feature. The error message I receive is:
```ts
…
-
### Initial checklist
- [X] I read the [support docs](https://mdxjs.com/community/support/)
- [X] I read the [contributing guide](https://mdxjs.com/community/contribute/)
- [X] I agree to follow …
-
### Bun
1.1.13+bd6a60512
### Arch Linux
Linux 6.9.4-2-cachyos x86_64 unknown
### Repro
```ts
import {register} from "node:module"
register("@mdx-js/node-loader", import.meta.url)
```
…
-
### 这个功能解决了什么问题?
1. 如果支持``` txt使用组件,可以跟md更好结合,考虑一个场景,我用组件写了三个li,但是我希望它被``` sh包裹起来,但是目前的实现,就直接不会解析组件内的组件。
2. 支持解析组件内容,如果我在组件内返回一个文本,正常在md文件中写一串文本会被p标签包裹起来,但是组件如果返回文本不回被处理,但是问题在于,默认的主题对p进行了封装。
### 你期…
-
-
## Description
In `*.mdx` files, syntax highlighting features work as expected, but they do not work in `*.md` files. I'm not sure if this is a bug or due to some limitations. The same situation oc…
-
https://github.com/mdx-js/eslint-mdx
-
Issue Summary:
When running `tinacms build --partial-reindex && next build` for my project, the static page generation times out repeatedly, causing the build process to fail.
Steps to Reproduce…
-
This plugin is not working with 'compile' in mdx-js/mdx, but okay when using it with remark.
any idea?
const jsxCode = await compileMdx(mdxWithFakeImports, {
development: false,
remark…
-
I am trying to use `remark-shiki-twoslash` with `@mdx-js/mdx@2.0.0-rc.2` (v2) and have the following error:
```
Error: Cannot handle unknown node `raw`
```
Full details are on this issue https:/…