evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
A utility that analyzes how MDX handles paragraph wrapping for different content types.
<Alert /> and returns analysis showing it was not wrapped in a paragraph @test<div>Content</div> and returns analysis showing it was not wrapped in a paragraph @test/**
* Analyzes paragraph wrapping behavior in compiled MDX output.
*
* @param {string} mdxContent - The MDX source code to compile and analyze
* @returns {Promise<{isWrappedInParagraph: boolean, compiledOutput: string}>}
* Object containing whether the content was wrapped in a paragraph tag
* and the compiled JavaScript code
*/
async function analyzeParagraphWrapping(mdxContent) {
// IMPLEMENTATION HERE
}
module.exports = { analyzeParagraphWrapping };MDX compiler that transforms MDX documents into executable JavaScript. Provides the compile function to transform MDX source code.