Repository navigation
Styled Markdown 2.3.0
Downloads
| Asset | What it is | How to install |
|---|---|---|
styled-markdown-2.3.0.vsix |
VS Code extension | code --install-extension styled-markdown-2.3.0.vsix, or Extensions → ⋯ → Install from VSIX… (guide) |
styled-markdown-2.3.0.tgz |
npm package (library + smd CLI), the same file as on npm |
npm install -g ./styled-markdown-2.3.0.tgz |
styled-markdown-writer.zip |
Agent skill: create and edit .smd following the rules |
Unzip into ~/.claude/skills/ or upload in Claude → Settings → Capabilities → Skills (guide) |
styled-markdown-reader.zip |
Agent skill: token-efficient reading | Same as above |
styled-markdown-playground.zip |
Web playground: edit, preview and share .smd in the browser |
Unzip and open playground/index.html, or serve the folder (guide) |
mkdocs_styled_markdown-2.3.0-py3-none-any.whl |
MkDocs plugin (Python wheel; needs Node.js 22+) | pip install ./mkdocs_styled_markdown-2.3.0-py3-none-any.whl (guide) |
mkdocs_styled_markdown-2.3.0.tar.gz |
MkDocs plugin source distribution | pip install ./mkdocs_styled_markdown-2.3.0.tar.gz |
styled-markdown-obsidian-2.3.0.zip |
Obsidian plugin (a styled-markdown folder with main.js, manifest.json and styles.css) |
Unzip into your vault's .obsidian/plugins/, then turn it on in Settings → Community plugins (guide) |
styled-markdown-jetbrains-2.3.0.zip |
JetBrains plugin (IntelliJ IDEA 2025.3+, PyCharm, WebStorm…): highlighting and the language server; needs Node.js 22+ | Settings → Plugins → ⚙ → Install Plugin from Disk… (guide) |
PDF export everywhere, with the browser you already have: smd export --to pdf no longer needs Playwright or Puppeteer, and the VS Code extension and the JetBrains plugin get an Export to PDF command. No breaking changes: documents, commands, flags, settings and library exports from 2.2.0 keep working, and anyone who prints with Playwright or Puppeteer today gets the same PDF.
Added
smd export --to pdfprints with an installed browser. When neither--browsernor Playwright or Puppeteer is there, it uses Google Chrome, Microsoft Edge, Chromium or Brave from where they install (Windows: Program Files and the user's app data; macOS:/Applicationsand~/Applications; Linux:google-chrome,chromium,microsoft-edgeandbrave-browseron thePATH), in that order, and tries the next one when a browser won't start. Edge comes with Windows, so on most machines PDF export now works with nothing to install. The browser runs headless with a throwaway profile and is driven over the DevTools protocol on a pipe, so smd still has no dependencies. The PDF is the same page, waits for diagrams the same way and uses the same paper sizes and margins as with Playwright. The message names the browser:Wrote plan.pdf (printed with Google Chrome).--browser <path>forsmd export --to pdf(andsmd pdf), and theSMD_BROWSERenvironment variable: the Chromium-based browser to print with. It is used before Playwright, Puppeteer and the installed browsers, and a path that doesn't exist is a usage error (exit 2).- VS Code: Styled Markdown: Export to PDF (Command Palette and the editor's context menu). It prints the page Export to HTML writes, with diagrams as vectors and collapsed blocks expanded, finding a browser as the CLI does (Playwright or Puppeteer are also looked for in the workspace). New settings:
smd.export.browserPath(a machine setting, likesmd.export.pandocPath),smd.export.pdfFormat(A4orLetter, defaultA4) andsmd.export.pdfLandscape(defaultfalse). Without a browser, it says so and offers the setting or Export to HTML. - JetBrains plugin: Export Styled Markdown to PDF (editor right-click menu, or Tools). It saves the file, asks where to write the PDF, runs the bundled CLI's
smd export --to pdfin the background and offers to open the result. New settings under Settings → Languages & Frameworks → Styled Markdown → Export to PDF: the browser, the paper size and landscape.
Changed
- Without
--browser, Playwright or Puppeteer,smd export --to pdfused to exit 2. It now prints with an installed browser, and exits 2 only when there is none; the message lists the browsers,--browserandSMD_BROWSERbefore the Playwright and Puppeteer hints it gave before.