index.d.ts 462 B

1234567891011121314
  1. /**
  2. * Turn an mdast syntax tree into markdown.
  3. *
  4. * @param {Nodes} tree
  5. * Tree to serialize.
  6. * @param {Options | null | undefined} [options]
  7. * Configuration (optional).
  8. * @returns {string}
  9. * Serialized markdown representing `tree`.
  10. */
  11. export function toMarkdown(tree: Nodes, options?: Options | null | undefined): string;
  12. import type { Nodes } from 'mdast';
  13. import type { Options } from 'mdast-util-to-markdown';
  14. //# sourceMappingURL=index.d.ts.map