@tinacms/mdx 1.2.0 → 1.3.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,3 @@
1
+ import type { Extension } from 'micromark-util-types';
2
+ import type { Pattern } from '../../stringify';
3
+ export declare const tinaDirective: (patterns: Pattern[]) => Extension;
@@ -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,2 @@
1
+ import type { TokenizeContext, Effects, State } from 'micromark-util-types';
2
+ export declare function factoryName(this: TokenizeContext, effects: Effects, ok: State, nok: State, type: string, patternName: string): State;
@@ -0,0 +1,2 @@
1
+ import type { Extension as FromMarkdownExtension } from 'mdast-util-from-markdown';
2
+ export declare const directiveFromMarkdown: FromMarkdownExtension;
@@ -0,0 +1,3 @@
1
+ import type { Pattern } from '../../stringify';
2
+ import type { Construct } from 'micromark-util-types';
3
+ export declare const directiveContainer: (pattern: Pattern) => Construct;
@@ -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;
@@ -0,0 +1,3 @@
1
+ import type { Options as ToMarkdownExtension } from 'mdast-util-to-markdown';
2
+ import { Pattern } from '../../stringify';
3
+ export declare const directiveToMarkdown: (patterns: Pattern[]) => ToMarkdownExtension;