Skip to content

[Tracking] Make every extension feature survive Markdown, so AI agents can write it #606

Open

Description

@HMarzban

Goal

Every feature of every @docs.plus/extension-* package survives Markdown, both export and import. Then an AI agent can write plain Markdown and get the same document a person builds in the editor. This tracker owns that goal for milestone v2.3.0.

The agent path stays the one we already ship. Agents read each package README (jsDelivr Markdown and Context7), and they write Markdown. Do not add an llms.txt, an adopter Agent Skill or a separate agent file. The 2026-09-22 eval rejected them: the README alone scored 48 of 48. The README Caveats stay the one home for what does not survive.

Facts

Checked at 25992f89e.

Package Markdown hooks in src/ Markdown Cypress spec Known gap
extension-hyperlink yes yes Markdown import on the server stores links on StarterKit link, not hyperlink (#335).
extension-hypermultimedia yes yes 4 of 60 media attribute slots survive a Markdown export. Caption is lost on all nine nodes (#244).
extension-inline-code yes yes Not measured.
extension-mermaid none (rides the code block's mermaid fence) yes Not measured beyond the fence.
extension-indent none none Not measured. Markdown has no indent syntax, so indent is likely lost.
extension-placeholder none none None. It stores nothing in the document.

Children

Steps

  1. Measure. For each package, list every node attribute and mark attribute it adds. Run each one through export, then import, in the clean-room Cypress suite. Post one table here: attribute, survives export, survives import.
  2. Decide the syntax once. RFC: carry media node options through Markdown #244 owns the option syntax for media nodes. Reuse the same syntax for any other attribute that Markdown has no standard form for, such as the indent level. That choice is the maintainer's, on RFC: carry media node options through Markdown #244.
  3. Fix per package. One child issue per package that has a gap. Each adds renderMarkdown and parseMarkdown hooks and a round-trip spec.
  4. Document. Each README Caveats section lists what still does not survive. Refresh Context7 after the release.

Acceptance criteria

  • The step 1 table is posted here for all six packages.
  • Every attribute either round-trips, with a clean-room spec that pins it, or is listed in that package's README Caveats.
  • The release that ships it refreshes Context7, and the context7.json rules still match every Caveats section.

Effort and order

Effort L overall. Step 1 can start now. It ships in the next extension family release (2.3.0, with #512), or in its own minor release.

Activity

  1. added this to the v2.3.0 milestone on Oct 24, 2026
  2. added
    enhancement
    Editor
    on Oct 24, 2026
  3. HMarzban commented on Oct 25, 2026

    @HMarzban
    CollaboratorAuthor

    Built and committed on local main. Awaits the maintainer's final push.

    Remaining gate: the push. The tracker's other items stay open for the maintainer.

  4. HMarzban commented on Nov 3, 2026

    @HMarzban
    CollaboratorAuthor

    Status, 2026-11-03. The README Caveats from step 1 are pushed in 37dc66d7c. They cover hyperlink, hypermultimedia and indent, and the matching context7.json rule. These items are left:

  5. HMarzban commented on Nov 4, 2026

    @HMarzban
    CollaboratorAuthor

    Maintainer ruling, 2026-11-04

    This tracker stays on milestone v2.3.0, after the v2.3.0 open-issue review. The README Caveats are shipped (37dc66d7c). The step 1 table, #244 slices 2 to 6 and the Context7 refresh are still left.

  6. 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

    EditorExtensionenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions