主题
大标题
😲 md-editor-rt
Markdown 编辑器,React 版本,使用 jsx 和 typescript 语法开发,支持切换主题、prettier 美化文本等。
🤖 基本演示
加粗,下划线,斜体,删除线,上标^26^,下标~1~,inline code
,超链接
引用:《I Have a Dream》
- So even though we face the difficulties of today and tomorrow, I still have a dream.
- It is a dream deeply rooted in the American dream.
- I have a dream that one day this nation will rise up.
- [ ] 周五
- [ ] 周六
- [x] 周天
🤗 代码演示
js
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)} />;
},
});
🖨 文本演示
依照普朗克长度这项单位,目前可观测的宇宙的直径估计值(直径约 930 亿光年,即 8.8 × 10^26^ 米)即为 5.4 × 10^61^倍普朗克长度。而可观测宇宙体积则为 8.4 × 10^184^立方普朗克长度(普朗克体积)。
📈 表格演示
表头 1 | 表头 2 | 表头 3 |
---|---|---|
左对齐 | 中间对齐 | 右对齐 |
📏 公式
行内:
🧬 图表
mermaid
flowchart TD
Start --> Stop
🪄 提示
!!! note 支持的类型
note、abstract、info、tip、success、question、warning、failure、danger、bug、example、quote、hint、caution、error、attention
!!!
☘️ 占个坑@!
没了
最后更新于:2025/06/19 18:20