mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-09 19:44:56 +02:00
30 lines
1.3 KiB
TypeScript
30 lines
1.3 KiB
TypeScript
/**
|
|
* Create an extension for `mdast-util-from-markdown` to enable directives in
|
|
* markdown.
|
|
*
|
|
* @returns {FromMarkdownExtension}
|
|
* Extension for `mdast-util-from-markdown` to enable directives.
|
|
*/
|
|
export function directiveFromMarkdown(): FromMarkdownExtension
|
|
/**
|
|
* Create an extension for `mdast-util-to-markdown` to enable directives in
|
|
* markdown.
|
|
*
|
|
* @returns {ToMarkdownExtension}
|
|
* Extension for `mdast-util-to-markdown` to enable directives.
|
|
*/
|
|
export function directiveToMarkdown(): ToMarkdownExtension
|
|
export type Nodes = import('mdast').Nodes
|
|
export type Paragraph = import('mdast').Paragraph
|
|
export type CompileContext = import('mdast-util-from-markdown').CompileContext
|
|
export type FromMarkdownExtension = import('mdast-util-from-markdown').Extension
|
|
export type FromMarkdownHandle = import('mdast-util-from-markdown').Handle
|
|
export type Token = import('mdast-util-from-markdown').Token
|
|
export type ConstructName = import('mdast-util-to-markdown').ConstructName
|
|
export type ToMarkdownHandle = import('mdast-util-to-markdown').Handle
|
|
export type ToMarkdownExtension = import('mdast-util-to-markdown').Options
|
|
export type State = import('mdast-util-to-markdown').State
|
|
export type Directives = import('../index.js').Directives
|
|
export type LeafDirective = import('../index.js').LeafDirective
|
|
export type TextDirective = import('../index.js').TextDirective
|