Knowledge note editing
Create and edit Markdown and plain-text notes in a knowledge base.
Knowledge note editing
The Knowledge explorer provides one authoring workspace for both RAG and Memex knowledge bases. You can create notes, upload editable text files, edit their contents, inspect metadata, and monitor indexing without leaving the explorer.
Supported formats
| File type | Edit behavior | Preview behavior |
|---|---|---|
.md, .mdx | Markdown live preview | Rendered Markdown |
.txt | Literal plain text | Pre-wrapped literal text |
| Other formats | Read-only | Existing safe preview or extracted text |
Plain-text files are not interpreted as Markdown. A line beginning with #, a
fenced code block, or other Markdown-looking text remains visible exactly as
written in both Edit and Preview.
Markdown live preview
Markdown notes keep the raw source as the document of record while presenting styled output as you type. Headings, emphasis, blockquotes, links, and inline code are styled in place. When the cursor enters a construct, its source markers appear so you can edit them; moving away hides the markers again.
Tasks and block content
- Task markers render as interactive checkboxes and update the source when clicked.
- Images and horizontal rules render in place until their source line is selected.
- Fenced code and Mermaid blocks use the same renderer as Preview. Clicking the rendered block reveals its source deterministically.
Tables
Markdown tables remain formatted while you edit them. Click a cell to edit its raw Markdown value. Press Enter or click away to commit, and press Esc to cancel.
Use Tab and Shift+Tab to move between cells. Hover over a table to add, remove, reorder, or align rows and columns. Each table mutation is written back to the Markdown source as one undoable edit.
Workspace modes
- Edit uses the format-aware text editor.
- Preview shows rendered Markdown or literal plain text.
- Split keeps source and preview visible together.
- Metadata shows classification, file properties, origin, folder, and index details. Markdown frontmatter properties are edited here.
Files that are not explicitly supported for editing remain read-only.
Saving and indexing
Changes autosave after a short idle period. Use Cmd+S or Ctrl+S to save
immediately. Content hashes prevent an older browser draft from silently
overwriting a newer revision; when a conflict occurs, reload the latest content
before continuing.
Saving and indexing are separate states. A successful save can temporarily show as pending or stale while the durable indexing workflow runs. If indexing fails, use Retry index. The last good RAG embeddings remain queryable until their replacement is ready.
Engine behavior
- Memex stores authored page bodies in knowledge-base storage and updates page metadata with an optimistic content hash.
- RAG stores the canonical text revision on the document, advances its processing epoch, and runs durable re-indexing. Unchanged chunks can reuse embeddings with the same content hash, model, and dimension.
The editor experience is the same in both engines; only their persistence and indexing implementations differ.