Writing Articles
Weavestream's article editor is powered by Tiptap — a full-featured rich-text editor. This guide covers creating, formatting, and organising documentation.
Creating an Article
- Navigate to a tenant's Articles section
- Click New Article
- Enter a title
- Choose an editor format (WYSIWYG or Markdown — see below)
- Write your content in the editor
- Click Save
Choosing a Format
Each article has its own editor mode — you are not locked into a workspace-wide choice.
To switch an existing article's format, use the format toggle in the article form. A confirmation dialog warns you before running the one-time conversion, because the process can be lossy for complex content. After switching, click Save — the format toggle does not autosave.
Importing Markdown Files
Users with article write access can import existing documentation from the company's Articles page:
- Select the destination folder in the sidebar. All and No folder import at the root.
- Click Import and choose
.mdor.markdownfiles. - Review the proposed titles and any rejected files. Visible to clients is off by default and applies to the whole batch.
- Click Import and keep the page open until it finishes.
Each file becomes a new Markdown article. The title comes from the first # heading outside fenced code blocks, or the first heading of another level if there is no # heading. Without a heading, the importer uses a front-matter title: value, then the filename. A leading front-matter block is removed. The chosen heading is removed from the body only when it is the first content line and body text remains.
An import accepts up to 100 files, each at most 2 MiB, with an article body of at most 500,000 characters. Empty files and files over these limits are rejected before import. Existing articles are never overwritten: a conflicting title/slug is retried with a numbered suffix, up to 20.
The result reports imported, failed, not imported, and uncertain files. A lost connection stops the batch because the current article may already have been created; check the article list before retrying an uncertain file. A sign-in failure or rate limit also stops the remaining files. Linked local images and other files are not uploaded by this workflow; add them separately through the editor.
Editor Toolbar
The toolbar provides quick access to all formatting options:
Keyboard Shortcuts
Inserting Images
- Place your cursor where you want the image
- Click the Image button in the toolbar (or drag-and-drop from your desktop)
- The image is uploaded to the tenant's file store and embedded inline
Images are stored in the tenant's directory under ${FILE_STORAGE_DIR}/<tenantId>/uploads/... and served through the API's same-origin streaming endpoint, so embedded <img> tags work without an external file host.
Working with Tables
Click the Table button to insert a table. Right-click on any cell to access options:
- Add/remove rows and columns
- Merge or split cells
- Set header rows
Organising with Folders
Articles can be organised into a folder hierarchy:
Creating a folder:
- In the article list sidebar, click New Folder
- Name the folder
- Folders can be nested by dragging them into other folders
Moving articles:
- Open the article
- Change the Folder field in the article metadata panel
- Save
Root-level articles (no folder) appear at the top of the list.
Setting Client Visibility
To expose an article in the client portal:
- Open the article
- Toggle Visible to clients in the metadata panel
- Save
The article will immediately appear in the portal for that tenant's client users.
Searching Articles
Articles are indexed for full-text search via the command palette (Cmd+K) and the search API. The article title is weighted higher than the body, so descriptive titles improve discoverability.
Tips for Good Documentation
- Use headings to structure long articles — they appear in the table of contents
- Keep articles focused — one topic per article is easier to search and navigate than a monolithic "everything" page
- Use task lists for runbooks and step-by-step procedures
- Add images for network diagrams, screenshots, and visual guides
- Create a folder structure that mirrors your infrastructure hierarchy (e.g. by region, by client, by service type)