@oxide/react-asciidoc 0.0.1-alpha.15 → 0.0.1-alpha.16
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/react-asciidoc.js +737 -735
- package/dist/react-asciidoc.umd.cjs +15 -15
- package/dist/types/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -30,13 +30,13 @@ declare type Overrides = {
|
|
|
30
30
|
ulist?: typeof UList;
|
|
31
31
|
verse?: typeof Verse;
|
|
32
32
|
};
|
|
33
|
-
declare type
|
|
33
|
+
declare type ExtensionFn = (this: Extensions.Registry) => void;
|
|
34
|
+
export declare type Options = {
|
|
34
35
|
overrides?: Overrides;
|
|
35
36
|
customDocument?: typeof Document;
|
|
36
37
|
attributes?: Attributes;
|
|
37
|
-
|
|
38
|
+
extensions?: [ExtensionFn];
|
|
38
39
|
};
|
|
39
|
-
declare const registry: Extensions.Registry;
|
|
40
40
|
declare const Asciidoc: ({ content, options }: {
|
|
41
41
|
content: string;
|
|
42
42
|
options?: Options | undefined;
|
|
@@ -45,5 +45,5 @@ declare const Content: ({ blocks }: {
|
|
|
45
45
|
blocks: AbstractBlock[];
|
|
46
46
|
}) => JSX.Element;
|
|
47
47
|
export default Asciidoc;
|
|
48
|
-
export { asciidoctor, Content, useGetContent, Title, getRole, CaptionedTitle, AdocTypes
|
|
48
|
+
export { asciidoctor, Content, useGetContent, Title, getRole, CaptionedTitle, AdocTypes };
|
|
49
49
|
export * from './templates';
|