@changerawr/markdown 1.0.0 → 1.0.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/index.js +17 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -11
- package/dist/index.mjs.map +1 -1
- package/dist/standalone.d.mts +4 -7
- package/dist/standalone.d.ts +4 -7
- package/dist/standalone.js +1433 -75
- package/dist/standalone.js.map +1 -1
- package/dist/standalone.mjs +1390 -75
- package/dist/standalone.mjs.map +1 -1
- package/dist/tailwind/index.d.mts +27 -0
- package/dist/tailwind/index.d.ts +27 -0
- package/dist/tailwind/index.js +224 -0
- package/dist/tailwind/index.js.map +1 -0
- package/dist/tailwind/index.mjs +187 -0
- package/dist/tailwind/index.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/standalone.global.js +0 -193
- package/dist/standalone.global.js.map +0 -1
package/dist/standalone.d.mts
CHANGED
|
@@ -111,8 +111,6 @@ declare class ChangerawrMarkdown {
|
|
|
111
111
|
*/
|
|
112
112
|
private rebuildParserAndRenderer;
|
|
113
113
|
}
|
|
114
|
-
declare function parseMarkdown(content: string): MarkdownToken[];
|
|
115
|
-
declare function renderMarkdown(content: string): string;
|
|
116
114
|
|
|
117
115
|
/**
|
|
118
116
|
* Standalone version of Changerawr Markdown for vanilla JavaScript usage
|
|
@@ -125,17 +123,16 @@ declare function createCumEngine(config?: EngineConfig): ChangerawrMarkdown;
|
|
|
125
123
|
declare function renderCumToHtml(markdown: string): string;
|
|
126
124
|
declare function renderCumToTailwind(markdown: string): string;
|
|
127
125
|
declare function renderCumToJson(markdown: string): MarkdownToken[];
|
|
128
|
-
|
|
129
|
-
declare const _default: {
|
|
126
|
+
declare const globalAPI: {
|
|
130
127
|
renderCum: typeof renderCum;
|
|
131
128
|
parseCum: typeof parseCum;
|
|
132
129
|
createCumEngine: typeof createCumEngine;
|
|
133
130
|
renderCumToHtml: typeof renderCumToHtml;
|
|
134
131
|
renderCumToTailwind: typeof renderCumToTailwind;
|
|
135
132
|
renderCumToJson: typeof renderCumToJson;
|
|
133
|
+
render: typeof renderCum;
|
|
134
|
+
parse: typeof parseCum;
|
|
136
135
|
ChangerawrMarkdown: typeof ChangerawrMarkdown;
|
|
137
|
-
parseMarkdown: typeof parseMarkdown;
|
|
138
|
-
renderMarkdown: typeof renderMarkdown;
|
|
139
136
|
};
|
|
140
137
|
|
|
141
|
-
export { ChangerawrMarkdown, type EngineConfig, type Extension, type MarkdownToken, createCumEngine,
|
|
138
|
+
export { ChangerawrMarkdown, type EngineConfig, type Extension, type MarkdownToken, createCumEngine, globalAPI as default, parseCum, renderCum, renderCumToHtml, renderCumToJson, renderCumToTailwind };
|
package/dist/standalone.d.ts
CHANGED
|
@@ -111,8 +111,6 @@ declare class ChangerawrMarkdown {
|
|
|
111
111
|
*/
|
|
112
112
|
private rebuildParserAndRenderer;
|
|
113
113
|
}
|
|
114
|
-
declare function parseMarkdown(content: string): MarkdownToken[];
|
|
115
|
-
declare function renderMarkdown(content: string): string;
|
|
116
114
|
|
|
117
115
|
/**
|
|
118
116
|
* Standalone version of Changerawr Markdown for vanilla JavaScript usage
|
|
@@ -125,17 +123,16 @@ declare function createCumEngine(config?: EngineConfig): ChangerawrMarkdown;
|
|
|
125
123
|
declare function renderCumToHtml(markdown: string): string;
|
|
126
124
|
declare function renderCumToTailwind(markdown: string): string;
|
|
127
125
|
declare function renderCumToJson(markdown: string): MarkdownToken[];
|
|
128
|
-
|
|
129
|
-
declare const _default: {
|
|
126
|
+
declare const globalAPI: {
|
|
130
127
|
renderCum: typeof renderCum;
|
|
131
128
|
parseCum: typeof parseCum;
|
|
132
129
|
createCumEngine: typeof createCumEngine;
|
|
133
130
|
renderCumToHtml: typeof renderCumToHtml;
|
|
134
131
|
renderCumToTailwind: typeof renderCumToTailwind;
|
|
135
132
|
renderCumToJson: typeof renderCumToJson;
|
|
133
|
+
render: typeof renderCum;
|
|
134
|
+
parse: typeof parseCum;
|
|
136
135
|
ChangerawrMarkdown: typeof ChangerawrMarkdown;
|
|
137
|
-
parseMarkdown: typeof parseMarkdown;
|
|
138
|
-
renderMarkdown: typeof renderMarkdown;
|
|
139
136
|
};
|
|
140
137
|
|
|
141
|
-
export { ChangerawrMarkdown, type EngineConfig, type Extension, type MarkdownToken, createCumEngine,
|
|
138
|
+
export { ChangerawrMarkdown, type EngineConfig, type Extension, type MarkdownToken, createCumEngine, globalAPI as default, parseCum, renderCum, renderCumToHtml, renderCumToJson, renderCumToTailwind };
|