shelving
Version:
Toolkit for using data in JavaScript.
17 lines (16 loc) • 788 B
TypeScript
import type { JSXElement } from "../../util/jsx.js";
import type { MarkupOptions } from "../util/options.js";
export declare const UNORDERED_REGEXP: import("../../index.js").NamedRegExp<{
list?: string;
}>;
/**
* Unordered list.
* - Line starting with `-`, `*`, `•`, or `+` character followed by one or more space characters.
* - No spaces can appear before the bullet character.
* - Second-level list can be created by indenting with `\t` one tab.
* - List block is ended by `\n\n` two newline characters.
* - Sparse lists are not supported.
*/
export declare const UNORDERED_RULE: import("../util/rule.js").MarkupRule;
/** Parse a markdown list into a set of items elements. */
export declare function _getItems(list: string, options: MarkupOptions): Iterable<JSXElement>;