@salemcobalt/ui 0.2.0-rc.2 → 0.2.0-rc.20
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/README.md +96 -19
- package/dist/codemirror-D3Z4MYFA.js +376 -0
- package/dist/codemirror-D3Z4MYFA.js.map +1 -0
- package/dist/editor.d.ts +46 -0
- package/dist/editor.js +149 -0
- package/dist/editor.js.map +1 -0
- package/dist/index.d.ts +1362 -60
- package/dist/index.js +2275 -76
- package/dist/index.js.map +1 -1
- package/dist/markdown-5O5GUVBJ.js +10 -0
- package/dist/markdown-5O5GUVBJ.js.map +1 -0
- package/dist/styles.css +3677 -46
- package/package.json +59 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
// src/components/TextEditor/markdown.ts
|
|
4
|
+
import { markdownLanguage } from "@codemirror/lang-markdown";
|
|
5
|
+
import { LanguageSupport } from "@codemirror/language";
|
|
6
|
+
var markdown = () => new LanguageSupport(markdownLanguage);
|
|
7
|
+
export {
|
|
8
|
+
markdown
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=markdown-5O5GUVBJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/TextEditor/markdown.ts"],"sourcesContent":["// Markdown highlighting without `markdown()`'s HTML tag completion, which pulls in lang-html, -css and -javascript\n// (~68 KB gzipped). A static import here lets the bundler drop them; a namespace from import() can't be tree-shaken.\nimport { markdownLanguage } from '@codemirror/lang-markdown';\nimport { LanguageSupport } from '@codemirror/language';\n\nexport const markdown = () => new LanguageSupport(markdownLanguage);\n"],"mappings":";;;AAEA,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAEzB,IAAM,WAAW,MAAM,IAAI,gBAAgB,gBAAgB;","names":[]}
|