🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
48
node_modules/mdast-util-gfm-table/lib/index.d.ts
generated
vendored
Normal file
48
node_modules/mdast-util-gfm-table/lib/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/**
|
||||
* Create an extension for `mdast-util-to-markdown` to enable GFM tables in
|
||||
* markdown.
|
||||
*
|
||||
* @param {Options | null | undefined} [options]
|
||||
* Configuration.
|
||||
* @returns {ToMarkdownExtension}
|
||||
* Extension for `mdast-util-to-markdown` to enable GFM tables.
|
||||
*/
|
||||
export function gfmTableToMarkdown(
|
||||
options?: Options | null | undefined
|
||||
): ToMarkdownExtension
|
||||
/**
|
||||
* Extension for `mdast-util-from-markdown` to enable GFM tables.
|
||||
*
|
||||
* @type {FromMarkdownExtension}
|
||||
*/
|
||||
export const gfmTableFromMarkdown: FromMarkdownExtension
|
||||
export type Table = import('mdast').Table
|
||||
export type TableRow = import('mdast').TableRow
|
||||
export type TableCell = import('mdast').TableCell
|
||||
export type InlineCode = import('mdast').InlineCode
|
||||
export type MarkdownTableOptions = import('markdown-table').MarkdownTableOptions
|
||||
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 ToMarkdownExtension = import('mdast-util-to-markdown').Options
|
||||
export type ToMarkdownHandle = import('mdast-util-to-markdown').Handle
|
||||
export type ToMarkdownContext = import('mdast-util-to-markdown').Context
|
||||
export type SafeOptions = import('mdast-util-to-markdown').SafeOptions
|
||||
/**
|
||||
* Configuration.
|
||||
*/
|
||||
export type Options = {
|
||||
/**
|
||||
* Whether to add a space of padding between delimiters and cells.
|
||||
*/
|
||||
tableCellPadding?: boolean | null | undefined
|
||||
/**
|
||||
* Whether to align the delimiters.
|
||||
*/
|
||||
tablePipeAlign?: boolean | null | undefined
|
||||
/**
|
||||
* Function to detect the length of table cell content, used when aligning
|
||||
* the delimiters between cells
|
||||
*/
|
||||
stringLength?: MarkdownTableOptions['stringLength'] | null | undefined
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue