File Upload
Beyond saving web pages, Lion Reader lets you upload files directly into your reading library. Whether it’s a Word document from a colleague, Markdown notes from your writing tool, an HTML export, or a plain text file — uploaded content becomes a first-class saved article with all the same features: starring, tagging, search, narration, and AI summaries.
Supported File Types
Lion Reader supports four file formats for upload:
- Word documents (.docx) — Converted to clean HTML using Mammoth, then refined with Mozilla’s Readability algorithm. Document styles like Title and Subtitle are mapped to proper HTML headings, preserving your document’s structure.
- Markdown (.md, .markdown) — Rendered to HTML with full Markdown syntax support. YAML frontmatter is extracted for metadata: set
title,description, andauthorfields and they’ll be used automatically. - HTML (.html, .htm) — Cleaned with Readability to extract the main content, stripping navigation, ads, and other chrome — just like saving a web page.
- Plain text (.txt) — Treated as Markdown, so you get paragraph wrapping and basic formatting. Simple and effective for notes and snippets.
Markdown Frontmatter
Markdown files can include YAML frontmatter to provide metadata that Lion Reader will use instead of guessing from the content:
---
title: My Article Title
description: A brief summary of the article
author: Jane Doe
---
# The actual content starts here...
Without frontmatter, Lion Reader extracts the title from the first heading in the document or falls back to the filename. The summary is generated automatically from the content.
How Uploaded Content Appears
Uploaded articles appear in the Saved section of your sidebar alongside web-saved articles. They’re displayed with the same clean reading view and support all the features you’d expect: full-text search finds content inside uploaded documents, narration can read them aloud, and AI summaries work on uploaded content just like any other article. The only difference is that uploaded articles don’t have a source URL — the content lives entirely within Lion Reader.