18 lines
562 B
TypeScript
18 lines
562 B
TypeScript
/**
|
|
* @import {State} from 'mdast-util-to-markdown'
|
|
* @import {Code} from 'mdast'
|
|
*/
|
|
/**
|
|
* Checks if a code block can be formatted as an indented code block.
|
|
*
|
|
* @param {Code} node
|
|
* Node to check.
|
|
* @param {State} state
|
|
* Info passed around.
|
|
* @returns {boolean}
|
|
* Whether the code can be formatted as an indented code block.
|
|
*/
|
|
export function formatCodeAsIndented(node: Code, state: State): boolean;
|
|
import type { Code } from 'mdast';
|
|
import type { State } from 'mdast-util-to-markdown';
|
|
//# sourceMappingURL=format-code-as-indented.d.ts.map
|