Skip to content

Broaden fenced-code-block compatibility for real-world Markdown #17

Description

@adrianbrowning

What to build

Broaden Markdown fenced-code-block support so mdcode works predictably with common documentation conventions instead of only a narrow fence subset.

Acceptance criteria

  • The parser supports both backtick and tilde fenced code blocks.
  • Opening fences with three or more matching fence characters are handled correctly.
  • Indentation and closing-fence behavior is documented and tested against representative Markdown inputs.
  • Unsupported forms fail or are ignored predictably without corrupting surrounding Markdown.
  • Existing supported documents remain backward compatible.

Blocked by

None - can start immediately

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