@tinacms/mdx 1.2.0 → 1.3.1
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.
- package/dist/extensions/tina-shortcodes/extension.d.ts +3 -0
- package/dist/extensions/tina-shortcodes/factory-attributes.d.ts +2 -0
- package/dist/extensions/tina-shortcodes/factory-name.d.ts +2 -0
- package/dist/extensions/tina-shortcodes/from-markdown.d.ts +2 -0
- package/dist/extensions/tina-shortcodes/shortcode-container.d.ts +3 -0
- package/dist/extensions/tina-shortcodes/shortcode-leaf.d.ts +5 -0
- package/dist/extensions/tina-shortcodes/to-markdown.d.ts +3 -0
- package/dist/index.es.js +1931 -904
- package/dist/index.js +10948 -6057
- package/dist/parse/index.d.ts +2 -2
- package/dist/parse/mdx.d.ts +3 -0
- package/dist/parse/remarkToPlate.d.ts +2 -1
- package/dist/stringify/acorn.d.ts +4 -0
- package/dist/stringify/index.d.ts +8 -0
- package/package.json +43 -2
- package/dist/tests/autotest/invalid mdx with a closing tag.test.d.ts +0 -1
- package/dist/tests/autotest/invalid mdx with a const expression.test.d.ts +0 -1
- package/dist/tests/autotest/invalid mdx with an expression {{}}.test.d.ts +0 -1
- package/dist/tests/autotest/invalid mdx with an expression.test.d.ts +0 -1
- package/dist/tests/autotest/invalid mdx with an import statement.test.d.ts +0 -1
- /package/dist/tests/{autotest → temp}/shortcodes.test.d.ts +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { Effects, State } from 'micromark-util-types';
|
|
2
|
+
export declare function factoryAttributes(effects: Effects, ok: State, nnok: State, attributesType: string, attributesMarkerType: string, attributeType: string, attributeIdType: string, attributeClassType: string, attributeNameType: string, attributeInitializerType: string, attributeValueLiteralType: string, attributeValueType: string, attributeValueMarker: string, attributeValueData: string, disallowEol?: boolean): State;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Pattern } from '../../stringify';
|
|
2
|
+
import type { Construct } from 'micromark-util-types';
|
|
3
|
+
export declare const findCode: (string: string | undefined | null) => number | null;
|
|
4
|
+
export declare const printCode: (num: number) => void;
|
|
5
|
+
export declare const directiveLeaf: (pattern: Pattern) => Construct;
|