Skip to content

docs: copy a doc page as Markdown - #341

Merged
ChristopherPHolder merged 1 commit into
mainfrom
docs/copy-page
Nov 7, 2026
Merged

ChristopherPHolder merged 1 commit into
mainfrom
docs/copy-page

Conversation

@ChristopherPHolder

Copy link
Copy Markdown
Collaborator

Closes #335

An extra I added while working through the list: a Copy page button next to the reading time.

  • It copies # <title>, the description and the page's Markdown source, the same file "Edit this page" opens.
  • The <!-- steps --> / <!-- cards --> markers are stripped, so the result is plain GitHub Markdown.
  • The toast confirms "Page copied as Markdown". The toast now stays on one line on phones.
Desktop, light Mobile, dark

Verification

  • Puppeteer at 1280px and 390px: the clipboard starts with # Nx plugin, the description follows, and it contains no <!-- markers.
  • Full regression on this branch: all 16 pages at 1280px and 390px, light and dark, with no console errors and no horizontal overflow at 390px. The interaction smoke test passes (21/21).

A "Copy page" button in the doc page header copies the page as
Markdown: title, description and body, without the site-only list
markers. Handy for pasting a page into an issue, notes or a chat with
an AI assistant. A toast confirms it.

Closes #335
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

❗❗❗ report generated by this PR ❗❗❗

☕ Order Coffee ☕

Date/Time: 2026-11-07 13:22

Step Name Gather Mode Performance Accessibility Best Practices Seo Agentic Browsing
🧭 Navigate to coffee cart navigation 79 93 100 83 50
☕ Select coffee timespan 17/17 - 8/8 - -
✔ Coffee selected snapshot Ø 1/1 16/18 4/4 3/5 1/3
🛒 Checkout order timespan 19/19 - 8/8 - -
🧾 Order checked out snapshot Ø 1/1 19/20 4/4 3/5 1/3
💌 Submit order timespan 18/18 - 8/8 - -
📧 Order submitted snapshot Ø 1/1 20/22 4/4 3/5 1/3
🧭 Navigate to github navigation 94 92 100 83 50

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

☕ Order Coffee ☕

Date/Time: 2026-11-07 13:22

Step Name Gather Mode Performance Accessibility Best Practices Seo Agentic Browsing
🧭 Navigate to coffee cart navigation 92 93 100 83 50
☕ Select coffee timespan 17/17 - 8/8 - -
✔ Coffee selected snapshot Ø 1/1 16/18 4/4 3/5 1/3
🛒 Checkout order timespan 19/19 - 8/8 - -
🧾 Order checked out snapshot Ø 1/1 19/20 4/4 3/5 1/3
💌 Submit order timespan 18/18 - 8/8 - -
📧 Order submitted snapshot Ø 1/1 20/22 4/4 3/5 1/3
🧭 Navigate to github navigation 92 92 100 83 50

@ChristopherPHolder
ChristopherPHolder merged commit cab7683 into main Nov 7, 2026
5 checks passed
@ChristopherPHolder
ChristopherPHolder deleted the docs/copy-page branch November 7, 2026 13:25
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.

docs: copy a doc page as Markdown

1 participant