Skip to content

Show paste title in the demo and the docs #683

Open

Description

@HMarzban

Problem

The demo and the docs did not show paste title, and they did not tell developers that the link features come from an open-source extension they can use.

What was done

  • docs/DEMO.md §Links: "Paste a link, get its name" (the swap, undo, raw paste, file names, the look-alike rule, the Settings switch) and "Built on an open extension" (the hovercard and pasteTitle options, with their guides).
  • A link inside inline code broke Markdown replace with a 422, because the pad schema refuses inline code and a link on the same text. That link is now plain text. Keep link text plain in DEMO.md.
  • The file-name ruling is recorded in apps/webapp/CLAUDE.md §Paste title and in apps/hocuspocus.server/src/modules/link-metadata/README.md §Card text.
  • apps/webapp/CLAUDE.md §Paste title holds the exact command for the manual real-pad test.
  • Local pads updated on the maintainer's machine: /demo (the full Links section) and /hovercard-test (copy-and-paste cases). These are local only.

Commits

  • de699c1a1 docs: record that a pasted file link shows its name
  • b428384cb docs: show pasted link titles in the demo
  • 5df42913f docs: keep the extension link in the demo plain
  • d8b67afe3 docs(webapp): give the command for the manual paste-title test

Production /demo steps, after the deploy

The production demo (https://docs.plus/demo) is read-only and owned by the maintainer, so only the owner can replace it.

  1. Deploy first. The Links section describes hover cards and paste title, which need the new code live.
  2. Create two pads on production, signed in: /demo-companion (public, a title and a few headings) and /demo-private (turn on Private). The demo's "Cards for docs.plus pages" links point at them.
  3. Check that the two production ids in docs/DEMO.md still exist: the Folding heading HoKBe56adb5466L6 and the Start here chat 6adb5466z7HG78l0. Open https://docs.plus/demo?id=HoKBe56adb5466L6; it should scroll to Folding.
  4. On /demo, open the toolbar gear menu, then Import & export, then Replace with a file, and pick docs/DEMO.md. The replace keeps heading ids by level and text, so chatrooms and ?id= links survive.
  5. Rest the pointer on a few Links examples: a GitHub repo, the New York Times link, /demo-companion and /demo-private.

Context7 steps, after the push

Open https://context7.com/docs-plus/docs.plus, go to the Configuration tab, and press Refresh at the top right. Context7 does not crawl again by itself, so AI tools keep serving the old docs until then. The new pages are extensions/extension-hyperlink/docs/paste-title.md and docs/hovercard.md.

Done when

  • Committed.
  • Pushed.
  • Production /demo replaced, using the steps above.
  • Context7 refreshed.

Part of #681.

Activity

  1. added this to the v2.3.0 milestone on Nov 4, 2026
  2. added
    documentation
    on Nov 4, 2026
  3. HMarzban commented on Nov 4, 2026

    @HMarzban
    CollaboratorAuthor

    Status, 2026-11-04. The earlier "not pushed yet" note is out of date. The work is on main in 4e1aca058, and deploy run 41854096960 shipped it.

    Left:

  4. modified the milestones: v2.3.0, v2.4.0 on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions