test/node_modules/@vuepress/plugin-prismjs/lib/node/parser/whitespace.d.ts
2024-08-13 09:27:52 +08:00

10 lines
444 B
TypeScript

import type { WhitespacePosition } from '@vuepress/highlighter-helper';
import type { CodeParser, OpenTag } from './getCodeParser.js';
export declare const renderWhitespaceInLine: (node: OpenTag, position: WhitespacePosition) => void;
/**
* type: 'all' | 'boundary' | 'trailing'
*
* ```js :whitespace[=type]
*/
export declare const metaWhitespace: (parser: CodeParser, meta: string, defaultPosition?: boolean | WhitespacePosition) => void;