docutils-ts
Version:
Port of the Python Docutils library to TypeScript
11 lines (10 loc) • 326 B
TypeScript
import { NodeInterface } from "./types.js";
/**
* convert a node to XML
*/
export declare function nodeToXml(node: NodeInterface): string;
/**
* Return a whitespace-normalized name.
*/
export declare function whitespaceNormalizeName(name: string): string;
export declare function fullyNormalizeName(name: string): string;