site/node_modules/mdast-util-newline-to-break/lib/index.d.ts

13 lines
322 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
/**
* Turn normal line endings into hard breaks.
*
* @param {Nodes} tree
* Tree to change.
* @returns {undefined}
* Nothing.
*/
export function newlineToBreak(tree: Nodes): undefined
export type Nodes = import('mdast').Nodes
export type ReplaceFunction =
import('mdast-util-find-and-replace').ReplaceFunction