Markdown Editor for React, developed in jsx and typescript, support different themesใbeautify content by prettier.
Markdown Editor for React, developed in jsx and typescript, support different themesใbeautify content by prettier.
bold, underline, italic, line-through, superscript26, subscript1, inline code
, link
quote: I Have a Dream
import { defineComponent, ref } from 'vue';
import { MdEditor } from 'md-editor-rt';
import 'md-editor-rt/lib/style.css';
export default defineComponent({
name: 'MdEditor',
setup() {
const text = ref('');
return () => (
<MdEditor modelValue={text.value} onChange={(v: string) => (text.value = v)} />
);
}
});
The Old Man and the Sea served to reinvigorate Hemingway's literary reputation and prompted a reexamination of his entire body of work.
THead1 | THead2 | THead3 |
---|---|---|
text-align:left | text-align:center | text-align:right |
Inline: x+y^{2x}
\sqrt[3]{x}
Supported Types
noteใabstractใinfoใtipใsuccessใquestionใwarningใfailureใdangerใbugใexampleใquoteใhintใcautionใerrorใattention