We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@remark-embedder/transformer-oembed
node
npm
Relevant code or config
const { code, frontmatter } = await bundleMDX({ source: mdxSource, mdxOptions(options) { options.remarkPlugins = [ ...(options.remarkPlugins ?? []), remarkGfm, [ remarkEmbedder, { transformers: [ oembedTransformer, { params: { theme: "dark", dnt: true, omit_script: true, width: 1000, height: 1000, arguments: { width: 1000, height: 1000 }, }, } as Config, ], handleHTML, }, ], ]; options.rehypePlugins = [...(options.rehypePlugins ?? []), rehypePrism]; return options; }, });
I'm using the plugin with the remark embedded and mdxBundler, and trying to pass a width and height property to my iframe.
The Iframe compiles with the default width and height despite me passing it in as a parameter.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@remark-embedder/transformer-oembed
version: 3.0.0node
version: 18.15.0npm
version: 9.5.0Relevant code or config
What you did:
I'm using the plugin with the remark embedded and mdxBundler, and trying to pass a width and height property to my iframe.
What happened:
The Iframe compiles with the default width and height despite me passing it in as a parameter.
The text was updated successfully, but these errors were encountered: