Skip to content

feat: add article Markdown output#861

Merged
ryanfowler merged 1 commit into
mainfrom
feat/article-markdown-output
Jul 13, 2026
Merged

feat: add article Markdown output#861
ryanfowler merged 1 commit into
mainfrom
feat/article-markdown-output

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • add --article to extract readable HTML with Legible and convert it to Markdown with htmd
  • emit YAML frontmatter from extracted article metadata and the final response URL
  • pass existing Markdown responses through with URL-only frontmatter
  • preserve output formatting, pager, clipboard, and file behavior while adding clear unsupported-content diagnostics
  • document the HTML-to-Markdown workflow and add unit/integration coverage

Validation

  • cargo fmt --check
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --locked --all-features --lib --bins -- --test-threads=1
  • cargo test --locked --all-features --test cli --test formatting

Caveat

  • Prettier was unavailable in the environment; documentation changes pass git diff --check.

Extract readable HTML with Legible, convert it with htmd, and emit YAML frontmatter. Pass existing Markdown through with URL-only frontmatter and preserve existing output controls.
@ryanfowler ryanfowler force-pushed the feat/article-markdown-output branch from 9dc05c9 to b7ce971 Compare July 13, 2026 15:25
@ryanfowler ryanfowler merged commit 5991c52 into main Jul 13, 2026
7 of 8 checks passed
@ryanfowler ryanfowler deleted the feat/article-markdown-output branch July 13, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant