md-editor-rt
Version:
Markdown editor for react, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...
22 lines (21 loc) • 374 B
JavaScript
import { createContext as e } from "react";
import { s as t } from "./config.mjs";
const s = e({
editorId: "",
tabWidth: 2,
theme: "light",
language: "zh-CN",
highlight: {
css: "",
js: ""
},
showCodeRowNumber: !1,
usedLanguageText: t["zh-CN"],
previewTheme: "default",
customIcon: {},
rootRef: null,
disabled: void 0
});
export {
s as E
};