Sashmark / Help

Sashmark is in development. Nothing has been released yet, and there is no public build. These pages describe the development build. See the roadmap for what is still planned.

Reading a file

How Sashmark shows a Markdown file, its images and links, and what it does not do yet.

Sashmark shows each Markdown file as one clean, formatted page without the raw Markdown symbols. Large Markdown files now open faster than in earlier builds.

What renders

  • Headings, paragraphs, lists and quotes.
  • Code blocks, with line numbers down the left side. Long lines wrap to the width of the block, so there is no sideways scrolling; a wrapped line keeps one line number, and its continuation lines start under its text, not under the numbers. The first line sits at the top of the block. A block that names its language (for example ```python) is shown with syntax colors. Point at a code block to see its Copy button in the top-right corner. Copy takes the code exactly as written, without the wrapping; after a copy the button reads Copied for a moment (screen readers hear "Copied").
  • A paragraph holding only one <br> tag shows empty. This also applies inside a list or quote, accepts <br/>, <br /> and different letter cases, and keeps untouched source bytes as written. These empty lines can be edited, including a break line at the end of a file or a file containing only <br />. Typing replaces the tag with your text. Up to three leading spaces and trailing spaces or tabs around a standalone tag are kept; a leading tab or four spaces makes a code block instead. The usual editing limits still apply.
  • Other raw HTML in the file, such as <b>, <script> or <style>, is shown as plain text. A <br> beside text, or two <br> tags together, also shows as text. Nothing in raw HTML runs, and its style attributes cannot change the page's appearance.
  • No math. Sashmark shows standard Markdown, which has no math. Text such as $x^2$ or $$x^2$$ shows exactly as typed, dollar signs included. Prices and shell variables such as $HOME also stay as plain text.
  • "Could not render this part". If Sashmark cannot format one part of a file, for example a link with no text such as [](https://example.com), it never hides that part. You see a dashed box with the note Could not render this part and the part's text exactly as it is in the file. The rest of the page formats as usual. That part is read-only and saving keeps it as it is on disk; see When editing is off.
  • Broken Markdown shows as text instead of breaking the page. A code block that is never closed runs to the end of the file, so everything after its opening line shows as code. If a file cannot be formatted at all, Sashmark shows its plain text instead of a blank page.

Alert boxes

Agents often write a note or a warning as an alert: a quote whose first line names its kind, in the style many code-hosting sites show as a box:

> [!WARNING]
> Back up the Doe folder first.
  • Sashmark shows it as a box with a coloured left edge, then a title with an icon and the kind's word, then the rest of the quote. The five kinds are [!NOTE], [!TIP], [!IMPORTANT], [!WARNING] and [!CAUTION], each with its own colour. The word is always shown, so the kind never rests on colour and icon alone.
  • The [!WARNING] line is hidden. With editing on, put the text cursor at the start of the box's first line, or on the hidden line, and the line shows so you can change or delete it. Change it to another kind, such as [!TIP], and the box changes. Delete it and the box becomes a plain quote.
  • Only that exact first line counts: upper case, nothing else on the line, though spaces or a tab at its end are fine. [!note], [!WARNING] Back up, [!NOTE]-, an unknown kind such as [!DANGER], an escaped \[!NOTE], a bold **[!NOTE]**, or a marker on the quote's second line all stay a plain quote with the text as written. A quote inside a list or inside another quote can be a box; one inside a code block never is.
  • A whole marker line typed in Sashmark may be saved with a backslash before its [, so it stays a plain quote. Changing only the word inside an existing marker keeps the box.
  • The file never changes: saving keeps the > [!WARNING] line as it is, and Copy as Markdown, or copying a whole box, gives the quote's lines as written.
  • Screen readers hear the box as a note named by its word, read once, then the quote's text.
  • Export to HTML shows the quote as a plain quote with its [!WARNING] line, without the box.

Images

  • Images next to the file load and fit the page width. Paths are relative to the file's folder, for example ![Diagram](img/diagram.png); a title (![Diagram](img/diagram.png "Title")) is optional. Both / and \ work, and so do file: addresses.
  • Supported types: PNG, JPEG, GIF, WebP, SVG, BMP, ICO, and AVIF, up to 20 MB each.
  • Missing images. If an image is not there, is not an image file, or is too large, you see an outlined box with the image's description and its path.
  • Web images (http://, https:// or addresses starting with //) are not loaded. You see a box with the address instead. Sashmark does not connect to the internet to show a file.

Many tools and agents write an image as ![[doe-chart.png]]. Sashmark shows it as the image, in place of that text.

  • Where it looks. Like a wikilink to a file that is not a note: the exact path from the sidebar's folder first (only when the document is inside that folder), then from the folder containing the document. Subfolders are not searched, so write ![[Doe Pics/doe-chart.png]] for an image in a subfolder.
  • Text after a bar is the image's description: ![[doe-chart.png|Jane Doe's chart]]. A number such as ![[doe-chart.png|300]] is a description too, not a size.
  • Which ones count. The name must end with an image type from the list above. A note (![[Doe Plan]]), a PDF, a name without a type, a # part, a web address, one inside code, and an escaped \![[doe-chart.png]] all stay as text.
  • Missing images. Not there, not an image file, or over 20 MB: the outlined box with the description and the name as written, with any spaces at its start or end left out and any \ shown as /.
  • The file never changes. The ![[...]] text is hidden while you read. With editing on, put the text cursor in it and the text shows, with the image right after it, so you can change it. Saving keeps it as written, and copying it gives the text. Sashmark never writes this form itself.
  • Export to HTML shows the ![[...]] text, not the image.
  • Web and email links (http, https, mailto) open in your default browser or email app.
  • Links to other Markdown files, such as [Plan](notes/plan.md#goals), open the file in a tab and focus its page, just as if you had opened it yourself. If the file is not there, you see "File not found:" followed by the path.
  • Wikilinks, such as [[Doe Plan]], open Doe Plan.md. You can also write [[Doe Plan|Review plan]] or [[Doe Plan#Next steps]]. A filename with an extension keeps that extension; a name without one gets .md. If a name with a dot has no exact file, Sashmark tries the Markdown note with .md added, unless the name already ends in .md or .markdown or has a blocked file type (see below). Relative subfolders work with / or \. A wikilink always shows its full source, brackets and any alias target included, so you can select and edit the original text. Move to a link with Tab and press Enter to follow it; Enter at the text cursor still edits normally. Inside a list, Tab at the text cursor still indents the item.
  • Where a wikilink looks. Sashmark first tries the folder containing the file you are reading. If the target is absent, it searches that folder's subfolders. The nearest match wins; matches at the same depth are sorted by their relative paths, so Doe A/Doe Plan.md wins over Doe B/Doe Plan.md. An explicit subfolder name is kept during the search. It does not search parent folders or follow folder shortcuts. The search happens when you follow the link, so moving a target does not leave an old index behind. A very large or unreadable folder tree shows "Could not open" rather than claiming the file is missing.
  • Links to other files. A wikilink such as [[Doe Files/2026 08-Doc Name ~ Doe.pdf|Read PDF]] opens the existing file in its default app, without adding a Sashmark tab. Spaces and ~ stay literal. Sashmark tries the exact path from the sidebar's folder first, then from the folder containing the current document. The sidebar folder is used only when the document is inside it; otherwise only the document's folder is tried. Other subfolders are not searched. A missing file shows "File not found" with its original name. Sashmark refuses directories, app bundles, files marked executable, and known script and application types. Names such as .vbs and .exe are blocked too, as are more terminal-session, theme, sandbox and Java file types. Trailing dots or spaces cannot hide a blocked file type. Links cannot escape the searched folder through .. or a file shortcut.
  • One tab per file. Following either kind of Markdown link opens a new tab or selects the file's existing tab, keeping its unsaved edits. The file you came from stays open.
  • Headings. Both [[Doe Plan#Next steps]] and [Review plan](Doe%20Plan.md#next-steps) open the file and move to its heading. You can use the heading's text or its exact ID; repeated headings have IDs such as next-steps-#2. If the heading is missing, a new tab starts at the top, an existing tab keeps its place, and Sashmark says "Heading not found:" followed by the heading. Changes View searches the visible disk content, including when the hidden editing buffer has different headings.
  • Literal names. Wikilinks keep percent signs and question marks as part of the filename: [[Doe%20Plan]] means a file named Doe%20Plan.md. Ordinary Markdown links keep their usual URL decoding and exact relative path. Wikilinks in code, raw HTML, another Markdown link, or an embed such as ![[Doe Plan]] stay inactive. A backslash before [[ escapes a wikilink. Empty or unfinished links and links containing .. stay inactive.
  • All other links do nothing, for example links to other kinds of files, #section links within the page, and unusual addresses such as ftp:.

What it does not do yet

  • Keeping your place on reload. When an open file changes on disk, its tab updates by itself and keeps your place in the page, including when the file starts with a list (by text, in the tab on screen; files over about 100,000 characters keep the scroll position instead). See When a file changes on disk.

View as Markdown