Skip to content

Provide a CI example for validating runnable Markdown snippets #12

Description

@adrianbrowning

Parent

#10

What to build

Provide a CI-ready example for extracting selected Markdown code blocks and validating them as runnable examples. Consumers should be able to adapt it to the language-specific test or lint command used by their project.

Acceptance criteria

  • An example extracts only intentionally runnable blocks into an isolated workspace.
  • The example invokes a configurable validation command against the extracted files.
  • A validation failure produces a non-zero CI exit status and identifies the failing example.
  • Temporary generated files are isolated from source files and cleaned up safely.
  • Documentation explains the metadata convention for marking runnable snippets.

Blocked by

Activity

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

    enhancementNew feature or requestready-for-agentFully specified and ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions