14 lines
473 B
TypeScript
14 lines
473 B
TypeScript
/**
|
|
* Checks if a heading can be formatted as a setext heading.
|
|
*
|
|
* @param {Heading} node
|
|
* Node to check.
|
|
* @param {State} state
|
|
* Info passed around.
|
|
* @returns {boolean}
|
|
* Whether the heading can be formatted as a setext heading.
|
|
*/
|
|
export function formatHeadingAsSetext(node: Heading, state: State): boolean;
|
|
import type { Heading } from 'mdast';
|
|
import type { State } from 'mdast-util-to-markdown';
|
|
//# sourceMappingURL=format-heading-as-setext.d.ts.map
|