@readme/markdown 13.4.0 → 13.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ import type { Extension as FromMarkdownExtension } from 'mdast-util-from-markdown';
2
+ export declare function emptyTaskListItemFromMarkdown(): FromMarkdownExtension;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Micromark extension for HTML entities without semicolons.
3
+ *
4
+ * Handles named entities (e.g. `&nbsp`, `&amp`, `&copy`), decimal numeric
5
+ * references (e.g. `&#160`, `&#169`), and hex numeric references (e.g. `&#xa0`,
6
+ * `&#xA0`). Entities that already include the semicolon are left for the
7
+ * standard parser to handle.
8
+ */
9
+ export { looseHtmlEntity, looseHtmlEntityFromMarkdown } from './syntax';
@@ -0,0 +1,9 @@
1
+ import type { Extension as FromMarkdownExtension } from 'mdast-util-from-markdown';
2
+ import type { Extension } from 'micromark-util-types';
3
+ declare module 'micromark-util-types' {
4
+ interface TokenTypeMap {
5
+ looseHtmlEntity: 'looseHtmlEntity';
6
+ }
7
+ }
8
+ export declare function looseHtmlEntity(): Extension;
9
+ export declare function looseHtmlEntityFromMarkdown(): FromMarkdownExtension;