Skip to content
Skillpedia
Documentation10k · #12029

preview

What it does

This skill converts Markdown or LaTeX documents into HTML or PDF files for review. It is for writers and researchers who want to see or share a finished document.

When to use it

  • ✓When you want to preview a written report as a web page.
  • ✓When you need to export a Markdown or LaTeX document as a PDF.
  • ✓When you want to check how a rendered document looks before sharing it.

Skill link

https://github.com/Companion-Inc/feynman/blob/main/skills/preview/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/Companion-Inc/feynman/blob/main/skills/preview/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Turn my research summary Markdown file into a PDF and an HTML preview I can open.”

5 new skills a week. 1 minute to read.

How it works

The skill runs pandoc on your document to produce HTML or PDF files. The original Markdown or LaTeX file stays as the main version.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Preview

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.

FAQ

What do I need installed?

The skill needs pandoc, and a LaTeX engine for PDF output.

What if pandoc is missing?

The skill says so and keeps the Markdown file as the deliverable.

Which file is the original?

The Markdown or LaTeX file. The HTML and PDF files are previews.

Details

Original description by the author

Render Markdown or LaTeX research artifacts to HTML or PDF with pandoc. Use when the user wants to review a written artifact, export a report, or view a rendered document.

repo: Companion-Inc/feynman

Popularity

GitHub stars
10k
Ranking position
#12029
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills