注册账号-全站资源免费下载
您需要 登录 才可以下载或查看,没有账号?注册账号
x
LATEX / MARKDOWN 文本编辑器网站
测试图片:
开源地址
详细介绍
设置
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
项目结构
markdown-latex-editor/├── public/ # Static assets│ └── workers/ # Web Workers├── src/ # Source code│ ├── components/ # Svelte components│ ├── stores/ # State management│ ├── utils/ # Utilities│ ├── App.svelte # Main component│ └── main.ts # Entry point├── index.html # HTML template└── vite.config.ts # Vite configuration
架构
- 框架:Svelte(使用 TypeScript)
- 编辑器:CodeMirror 6
- Markdown 处理:Remarkable + Prism.js
- 数学渲染:KaTeX
- 样式:UnoCSS (Atomic CSS)
- 构建工具:Vite
- 存储: IndexedDB API
|