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