import { Plugin, Transformer } from 'unified'; /** * Modified from: https://github.com/remcohaszing/remark-mdx-code-meta * * Custom meta parser for codefences that have extra params. e.g. * ```jsx filename="hello.jsx" *
Test!
* ``` * * Custom meta parser for codefences that have eval or eval="true". * This allows vars to be resolved and their values used as the code block body. * ```jsx eval * meta.data.someStringOnlyAvailableAtRuntime * ``` */ export declare const transformer: Transformer; /** * A markdown plugin for transforming code metadata. * * @returns A unified transformer. */ export declare const codeBlocks: Plugin<[]>;