convert-to-markdown

Installation
SKILL.md

Convert Files and URLs to Markdown

When to Use

  • You need a transcript of a YouTube video
  • You need to convert an MHTML file or web page into Markdown for easier reading and processing
  • You need to convert a local HTML file into Markdown

Procedure

YouTube Transcript

To extract YouTube captions, run the youtube-transcript script:

./scripts/youtube-transcript.py <youtube_video_id_or_url>

YouTube Transcript with metadata

To extract YouTube captions along with metadata, run the youtube-transcript script:

./scripts/youtube-transcript.py --info <youtube_video_id_or_url>

MHTML to Markdown

Converts an MHTML file (local path) or a remote MHTML URL into Markdown using MarkItDown.

./scripts/mhtml-to-md.py <path_or_url>

HTML to Markdown

Converts a local HTML (or other supported) file into Markdown using MarkItDown directly.

uvx markitdown <path>
Related skills
Installs
23
Repository
varlabz/skills
First Seen
7 days ago