mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 20:48:15 +08:00
26 lines
991 B
TypeScript
26 lines
991 B
TypeScript
/**
|
|
* Generate the default label that GitHub uses on backreferences.
|
|
*
|
|
* @param {number} referenceIndex
|
|
* Index of the definition in the order that they are first referenced,
|
|
* 0-indexed.
|
|
* @param {number} rereferenceIndex
|
|
* Index of calls to the same definition, 0-indexed.
|
|
* @returns {string}
|
|
* Default label.
|
|
*/
|
|
export function defaultBackLabel(referenceIndex: number, rereferenceIndex: number): string;
|
|
/**
|
|
* Create an extension for `micromark` to support GFM footnotes when
|
|
* serializing to HTML.
|
|
*
|
|
* @param {Options | null | undefined} [options={}]
|
|
* Configuration (optional).
|
|
* @returns {HtmlExtension}
|
|
* Extension for `micromark` that can be passed in `htmlExtensions` to
|
|
* support GFM footnotes when serializing to HTML.
|
|
*/
|
|
export function gfmFootnoteHtml(options?: Options | null | undefined): HtmlExtension;
|
|
import type { HtmlOptions as Options } from 'micromark-extension-gfm-footnote';
|
|
import type { HtmlExtension } from 'micromark-util-types';
|