For the complete documentation index, see llms.txt. This page is also available as Markdown.

Markdown extraction

--dump markdown converts the rendered page to markdown.

obscura fetch https://example.com --dump markdown

What gets converted

  • Headings (<h1> through <h6>)

  • Paragraphs, line breaks

  • Bold, italic, code spans

  • Links (with href)

  • Images (with src and alt)

  • Ordered and unordered lists

  • Block quotes

  • Code blocks (<pre>, <code>)

  • Tables

What gets stripped

  • <script>, <style>, <noscript>

  • Inline styles

  • ARIA attributes

  • Tracking pixels and beacons

Save to file

For RAG / LLM context

--quiet strips info logging so the output is just markdown.

Wait for SPA content

For pages that render content client-side:

Narrow to a region

--selector restricts the conversion to a CSS selector:

Useful for skipping nav, sidebars, and footers.

Last updated

Was this helpful?