Quillwyrm/LiteMark
A lightweight Markdown viewer and project-notes plugin for Lite XL.
LiteMark is a lightweight Markdown viewer and project-notes plugin for Lite XL.
It adds a dedicated “read mode” view for .md files and an optional per-project scratch-notes file.
Features
-
Markdown read view
- View any
.mdfile in a clean, styled Markdown window. - Uses Lite XL’s theme colors (
style.text,style.syntax[...]) so it matches your current theme. - Intuitive: you can split, move and resize LiteMark views just like any other Lite XL view.
- View any
-
Read / Edit modes
- Double-click inside the read view to switch to a normal editor view for that document.
- Leaving the edit view automatically saves and returns to read mode.
-
Per-project notes
- One notes file per project, stored under
USERDIR/project_notes/. - Opened via a dedicated command, independent of whatever file you’re currently editing.
- One notes file per project, stored under
-
Code fences with syntax highlighting
- If Lite XL has a syntax for the given
lang, the code is tokenized and colored. - Code blocks are rendered with a shaded background.
- If Lite XL has a syntax for the given
-
Custom status bar
- Shows
READorEDITon the right when the active view is a LiteMark view. - Shows the current document path on the left.
- Shows
-
Context menu integration
- Right-click in a
.mdDocView→ “View Markdown” to open the same buffer in LiteMark.
- Right-click in a
Examples
LiteMark is built to match your Lite XL theme seamlessly!
Clean, intuitive and simple Markdown rendering in your editor.
Usage Guide
Commands
LiteMark registers these commands in the command palette:
-
LiteMark: View Current Markdown- If the active view is a
DocViewwith a.mdfilename, opens a LiteMark read view for the same document. - If the current file is not Markdown, shows an error and does nothing.
- If the active view is a
-
LiteMark: View Project Notes- Opens the per-project notes file in a LiteMark read view.
- Creates the notes file if it does not exist yet.
There is also an alias litemark:note which currently just delegates to “View Current Markdown”.
Read / Edit workflow
- Open a
.mdfile in Lite XL as usual. - Use:
- the command palette (
LiteMark: View Current Markdown), or - the right-click context menu → View Markdown
- the command palette (
- You’ll see the LiteMark read view for that document.
- Double-click inside the read view to drop into a normal editor for the same buffer.
- When you move focus away from the edit view, it auto-saves and swaps back to the read view.
Project notes
LiteMark: View Project Noteschooses a notes file based on the current project root and opens it in read mode.- Notes are stored under
USERDIR/project_notes/using a sanitized project name, so they don’t clutter your project tree.
Markdown coverage
LiteMark aims to cover the common, everyday Markdown you see in READMEs and notes, not the entire CommonMark + extensions ecosystem.
Block-level features:
- ATX headings:
#through###### - Paragraphs: separated by one or more blank lines
- Unordered lists:
-,*, or+ - Ordered lists:
1.,2., … - Task lists:
- [ ]and- [x] - Horizontal rules:
--- - Fenced code blocks:
```lang ... ```with optional language label
Inline features:
- Bold:
**text**or__text__ - Italic:
*text*or_text_ - Inline code:
`code` - Strikethrough:
~~text~~
Everything else is treated as plain text (still laid out nicely, just without special semantics).
Not (yet) supported
These features are currently not supported by the LiteMark renderer:
- Setext headings (
Titlefollowed by====or----) - Links and autolinks:
[label](url),<https://example.com> - Images:
(they render as plain text in LiteMark) - Tables
- Blockquotes:
> quoted text - Inline HTML blocks
- Footnotes, math, admonitions, or other extension syntax
If you use these, they will still render as readable text, just without special styling or layout.
Future plans
Planned features for later releases include:
- Interactive links (URL / project file).
- Table rendering.
- Images (from project dir).
- Table of contents navigator.
- And more!


