rme 0.0.18 → 0.0.19
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.d.ts +2 -0
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +3 -3
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ import { CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
|
9
9
|
export { CreateThemeOptions, createTheme } from '@uiw/codemirror-themes';
|
|
10
10
|
import { LanguageDescription, LanguageSupport } from '@codemirror/language';
|
|
11
11
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
|
+
import * as highlight from '@lezer/highlight';
|
|
13
|
+
export { highlight as lezerHighlight };
|
|
12
14
|
import Token from 'markdown-it/lib/token';
|
|
13
15
|
|
|
14
16
|
type EditorRef = {
|
package/dist/index.mjs
CHANGED
|
@@ -12946,6 +12946,9 @@ import { jsx as jsx20 } from "react/jsx-runtime";
|
|
|
12946
12946
|
var EditorProvider = ({ theme, children }) => {
|
|
12947
12947
|
return /* @__PURE__ */ jsx20(ThemeProvider, { theme, children });
|
|
12948
12948
|
};
|
|
12949
|
+
|
|
12950
|
+
// src/index.ts
|
|
12951
|
+
import * as lezerHighlight from "@lezer/highlight";
|
|
12949
12952
|
export {
|
|
12950
12953
|
Editor,
|
|
12951
12954
|
extensions_default as EditorExtensions,
|
|
@@ -12962,6 +12965,7 @@ export {
|
|
|
12962
12965
|
createTheme,
|
|
12963
12966
|
createWysiwygDelegate,
|
|
12964
12967
|
getLanguageMap,
|
|
12968
|
+
lezerHighlight,
|
|
12965
12969
|
loadLanguage,
|
|
12966
12970
|
useCommands4 as useCommands,
|
|
12967
12971
|
useHelpers,
|