尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A WYSIWYG Markdown editor that runs entirely in the browser. No build step, and nothing leaves your machine.
## , * , > , ```| Key | Action |
|---|---|
Ctrl+B / Ctrl+I | Bold / italic |
Ctrl+K | Link |
Tab / Shift+Tab | Indent / outdent a list item |
Ctrl+Z / Ctrl+Shift+Z | Undo / redo |
Ctrl+O | Open |
Ctrl+S / Ctrl+Shift+S | Save / save as |
Right-click a table cell to add, remove, or align rows and columns.
Rich mode keeps the document as a tree, not as text, and writes Markdown back
out in its own style. A file opened and saved there can change where nothing
was edited: - bullets become *, _emphasis_ becomes *emphasis*, tables
are realigned, the lines of a paragraph are joined into one, a line break
forced within a paragraph starts a new paragraph, and reference-style link
definitions are not preserved.
Markdown mode leaves the source as typed, for as long as the document stays
in it.
Raw HTML is the exception. Front matter, comments, common blocks (<div>,
<details>, <svg>, and the like), and inline tags such as <kbd> and
<sub> are shown in rich mode and written back exactly as they were. A block
can be moved or deleted there, but only edited in Markdown mode. A document
with any other HTML opens in Markdown mode, and switching it to rich mode
asks first, as that would leave only the text.
SVG is drawn without styles, scripts, gradients, or embedded HTML.
Images with a remote address are fetched by the browser when shown. Relative image paths do not resolve, as the page cannot see the folder a file came from.
Only some browsers let a page write back to a file on disk. Served from a
machine that has the files, the editor can do it through the server instead.
For that the server has to offer, under /files/,
autoindex_format json givesGET and PUTOpen and Save as then choose among those files, and Save writes back to the
one that is open. Reloading the page shows the file as it is on disk; changes
that had not been saved are kept as a revision. Without /files/ the editor
works with the browser's own files, as before.
Editing is done by TOAST UI Editor 3.2.2
(MIT), vendored unmodified in vendor/toastui-editor. Its usage statistics
are switched off, and its HTML sanitizer is replaced by the allowlist in
app.js.
vendor/ is generated by vinder: package.json and bun.lock
pin the versions, vinder.toml says what goes into vendor/, and
vendor.src/ holds the bundle entry and the license the npm package does
not ship. prosemirror-model is held at 1.19.0 because later releases break
toastui 3.2.2's HTML rendering. After changing any of these:
vinder sync # regenerate vendor/
vinder check # confirm vendor/ matches bun.lock
vinder audit # check what is vendored against OSV
Open index.html in a browser, or serve the directory:
python -m http.server
The tests run in a browser, against the page itself, as there is no other place the editor exists. With Bun and Firefox or Chromium installed:
bun test/run.mjs
Or open /test/ on the server above to run them in a browser of your own.