Run artifact

workspace/targets/commonmark/blueprint/FEATURE-INLINE-LINKS.md

FEATURE: Inline Links and Images

FieldValue
Version20260812 V1
DescriptionDefines inline links, reference links, images, destinations, titles, and reference resolution.
Depends OnARCHITECTURE.md, FEATURE-BLOCK-LEAF.md, FEATURE-INLINE-EMPHASIS.md
Provideslink parser, image parser, reference resolver
Consumesblock parser, inline parser

Purpose

The inline parser recognizes inline, full-reference, collapsed-reference, and shortcut links and images. It resolves link reference definitions collected during block parsing, supports balanced destinations and titles, and prevents nested links while permitting nested image descriptions.

Behavior

Programmatic Acceptance

=== AC inline-links-suite ===
Intent: The inline link, reference link, and image syntax passes its complete owned conformance scope.
Suite: scoped
Requires: executable=python3; scope=test

import subprocess import sys

result = subprocess.run( [sys.executable, "spec_tests.py", "--spec", "spec.txt", "--program", "./commonmark", "--pattern", "^(Links|Images)$"], capture_output=True, text=True, ) print(result.stdout) print(result.stderr, file=sys.stderr) assert result.returncode == 0 === END AC inline-links-suite ===

=== AC inline-links-boundaries ===
Intent: The implementation preserves link and image destination, title, reference, and nesting behavior.
Suite: scoped
Requires: executable=python3; scope=test

import subprocess import sys

result = subprocess.run( [sys.executable, "spec_tests.py", "--spec", "spec.txt", "--program", "./commonmark", "--pattern", "^(Links|Images)$"], capture_output=True, text=True, ) assert result.returncode == 0 === END AC inline-links-boundaries ===

User Acceptance

Guardrails