About preview
preview renders Markdown or LaTeX artifacts through pandoc for HTML or PDF preview. It is for workflows that need a viewable rendition while retaining Markdown as the canonical deliverable.
Key features
- 01Render Markdown to HTML
- 02Render Markdown to PDF
- 03Check pandoc availability
- 04Keep Markdown as canonical output
Use cases
- 01Preview a Markdown report as HTML
- 02Create a PDF preview of a LaTeX artifact
- 03Check rendering prerequisites before previewing
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ companion-inc/ feynman --skill previewAfter installing, type/previewin Claude Code to confirm it loaded.
Details
From the project READMEPreview
Render Markdown or LaTeX artifacts with pandoc through the shell. feynman setup preview checks for pandoc, and feynman doctor reports whether it is available.
pandoc outputs/<slug>.md -s -o outputs/<slug>.html # HTML
pandoc outputs/<slug>.md -o outputs/<slug>.pdf # PDF (needs a LaTeX engine)
open outputs/<slug>.html # macOS; xdg-open on Linux
Rendered HTML and PDF files are previews; the Markdown artifact stays canonical. If pandoc or a LaTeX engine is missing, say so and leave the Markdown artifact as the deliverable.
Comments
Markdown supported