diff --git a/README.md b/README.md
index c1d36d5..5eafbdf 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,8 @@ Read .md files and Mermaid diagrams offline, without opening an editor. About 74
[Website](https://abooodbah.github.io/leanmark/) · [Microsoft Store](https://apps.microsoft.com/detail/9MSS4WKJ22ZV) · `winget install abooodbah.LeanMark` · `choco install leanmark` · [All Lean apps](https://abooodbah.github.io/)
+[](https://github.com/microsoft/winget-pkgs/tree/master/manifests/a/abooodbah/LeanMark) [](https://apps.microsoft.com/detail/9MSS4WKJ22ZV) [](LICENSE) [](https://github.com/abooodbah/leanmark/releases)
+
**Read Markdown and Mermaid diagrams without opening an IDE. Everything renders
offline, with no Electron and no telemetry.**
@@ -98,7 +100,9 @@ Security. Later launches open normally.
### GitHub Releases
Windows, Linux (.deb), and macOS builds are also on the
-[Releases](https://github.com/abooodbah/leanmark/releases) page.
+[Releases](https://github.com/abooodbah/leanmark/releases) page. To hear about
+new versions, follow the [releases feed](https://github.com/abooodbah/leanmark/releases.atom)
+in a feed reader.
### Android (closed test)
diff --git a/site/index.html b/site/index.html
index 20c08a9..2e1a62d 100644
--- a/site/index.html
+++ b/site/index.html
@@ -13,6 +13,7 @@
+
@@ -32,9 +33,17 @@
"softwareVersion": "0.7.1",
"license": "https://opensource.org/license/mit",
"downloadUrl": "https://github.com/abooodbah/leanmark/releases/latest",
- "codeRepository": "https://github.com/abooodbah/leanmark",
"description": "A free, read-only Markdown viewer for Windows, Linux, and macOS with offline GitHub-flavored Markdown and Mermaid rendering.",
"url": "https://abooodbah.github.io/leanmark/",
+ "screenshot": "https://abooodbah.github.io/leanmark/assets/leanmark-window.png",
+ "image": "https://abooodbah.github.io/leanmark/assets/social-preview.png",
+ "sameAs": [
+ "https://github.com/abooodbah/leanmark",
+ "https://apps.microsoft.com/detail/9MSS4WKJ22ZV",
+ "https://github.com/microsoft/winget-pkgs/tree/master/manifests/a/abooodbah/LeanMark",
+ "https://community.chocolatey.org/packages/leanmark",
+ "https://github.com/abooodbah/homebrew-tap"
+ ],
"offers": {
"@type": "Offer",
"price": "0",
@@ -42,7 +51,8 @@
},
"author": {
"@type": "Person",
- "name": "Abdulfatah Bahbouh"
+ "name": "Abdulfatah Bahbouh",
+ "url": "https://abooodbah.github.io/"
}
}
@@ -156,7 +166,7 @@
A document opens as a document.
Live refresh after the file changes on disk
-
+
architecture.mdlocal file
@@ -176,7 +186,7 @@
A document opens as a document.
-
+
+
+ With Scoop, adding the Lean bucket first
+ scoop bucket add lean https://github.com/abooodbah/scoop-bucket
+ scoop install lean/leanmark
+
+
+ On macOS, with Homebrew
+ brew install --cask abooodbah/tap/leanmark
+
LeanMark is also in the
Microsoft Store.
@@ -385,7 +404,7 @@
Reading Markdown files on the desktop
How do I open an .md file on Windows?
-
Install LeanMark from the Microsoft Store, with winget install abooodbah.LeanMark, or from GitHub Releases, then open the file. Headings, tables, task lists, local images, and Mermaid diagrams render as a formatted page.
+
Install LeanMark from the Microsoft Store, with winget install abooodbah.LeanMark, or from GitHub Releases, then open the file. Headings, tables, task lists, local images, and Mermaid diagrams render as a formatted page. How to open .md files on Windows compares LeanMark with Notepad, VS Code, and browser extensions.
How do I read a Markdown file that Claude, ChatGPT, or a coding agent saved?
diff --git a/site/open-md-files-on-windows/index.html b/site/open-md-files-on-windows/index.html
new file mode 100644
index 0000000..844058c
--- /dev/null
+++ b/site/open-md-files-on-windows/index.html
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+ How to open .md files on Windows: Notepad, VS Code, LeanMark
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to content
+
+
+
+ A .md file is plain text written in Markdown. Any text
+ editor opens it, but you only see the headings, tables, and diagrams
+ as a formatted page in a program that renders Markdown. These are
+ the common ways to do that on Windows, and what each one leaves out.
+
Notepad on Windows 11 can show Markdown with formatting and switch between the formatted view and the Markdown source, as Microsoft describes in its Notepad formatting announcement. That announcement lists bold, italic, links, lists, and headings; Mermaid diagrams are not among them. Notepad is an editor, so the file can be changed by accident.
+
+
+
Visual Studio Code
+
VS Code has a built-in Markdown preview: open the file and press Ctrl+Shift+V, or Ctrl+K V for the preview beside the source. Its Markdown documentation says the preview renders Mermaid diagrams. It is a full code editor, so reading one file means opening an editor first.
+
+
+
A browser extension
+
Markdown viewer extensions for Edge, Chrome, and Firefox render a .md file that you open in the browser. In Edge and Chrome the extension can read a file on your disk only after you turn on its access to file URLs in the extension's settings. Support for tables and Mermaid differs from one extension to the next.
+
+
+
A Markdown viewer such as LeanMark
+
LeanMark opens the file as a formatted, read-only page with GitHub-flavored Markdown tables, task lists, local images, and Mermaid diagrams rendered offline. It cannot edit, and it does not load remote images. The GitHub ZIP is unsigned; the Microsoft Store build is signed by Microsoft.
+
+
+
+
+
+
+
+
+
Files from AI tools
+
Markdown saved by ChatGPT, Claude, or a coding agent
+
+ Chat assistants and coding agents often hand you Markdown: a
+ downloaded answer, a plan, or a README written into a project
+ folder. Opening it in a viewer shows the tables and diagrams instead
+ of the raw symbols.
+
+
+
+
+
Keep it open while it is written
+
When the file changes on disk, LeanMark refreshes the page and keeps your approximate reading position, so you can watch an agent's plan or report grow without reopening it.
+
+
+
Nothing in the file runs
+
Raw HTML in a document is not run, a strict Content Security Policy limits scripts, and remote images are not loaded. Links to websites open in your browser only after you click them.
+
+
+
+
+
+
+
+
+
Double-click to read
+
Make .md files open in your viewer
+
+ Right-click a .md file, choose Open with, then Choose
+ another app, pick the program, and select Always. You can change it
+ later under Settings, Apps, Default apps.
+
+
+ For LeanMark, the optional installer inside the GitHub ZIP adds it
+ to Open With and to Default Apps for the current user. LeanMark
+ opens .md, .markdown, .mdown,
+ and .mkd files.
+
+
+
+
+
+
+
+
+
Measured
+
What LeanMark costs to open
+
+ Median of ten warm launches of LeanMark 0.3.0 with a simple
+ document, counting LeanMark and every WebView2 process it starts.
+
+
+ Measured on Windows 11 Pro build 26200 with an Intel Core
+ i7-13620H, 15.6 GiB of RAM, and WebView2 Runtime 153. Hardware,
+ system state, and document complexity change the result. Linux and
+ macOS are not measured, and no comparison with other programs is
+ claimed.
+