Document Mod

Inline preview for PDF, TXT, and Markdown only (not Office). Default on. Tiers need Show documents.

Settingtoggle.document_mod

Document Mod

Site-wide master for inline document preview on public download pages. When off, document preview URLs are blocked and Users limits Show documents has no effect.

Supported: PDF, TXT, and Markdown only. Word/Excel/Office files are not previewed (the Mods section description may mention Office, but the code does not).

PDFs use the browser's native viewer; TXT and MD render on the page.

Where to find it

Admin → Settings → Mods → Document previews → Document Mod

Setting key: toggle.document_mod

Default: on (unset = enabled)

How it works

Preview shows when: this mod is on, the viewer's tier allows Show documents (Users limits row Document viewer), the file is PDF/TXT/MD, and password/premium gates pass.

Common problems

DOCX or XLSX shows no preview

Unsupported type. Convert to PDF or leave download-only.

Mod on but guests see nothing

Tier Show documents off for that visitor.

Related