Markdown / Nested merge

Markdown Fenced Code Nested Merge

This page has a stable URL for review, documentation, and implementation comparison. The fixture tabs show merge inputs and output; the contract tabs show JSON and compact ruleset renderings with stable IDs and deterministic ownership.

Basic .md nested mergemarkdownheading_sectionsnormalized_heading_pathsource_augmented_portable_writetracker_layout_mergehtml_commentmarkdown_blocks

Fixture sources

JSON fixture: structuredmerge-fixtures/markdown/slice-290-nested-merge/fenced-code-nested-merge.json

Compact ruleset: structuredmerge-fixtures/rulesets/markdown/slice-290-nested-merge/fenced-code-nested-merge.smrules

Fixture view
# Nested Merge

```ts
export const answer = 1;
export const feature = false;
```

```yaml
name: template
```
Contract view
{
  "contract_id": "markdown-fenced-code-nested-merge",
  "format": "markdown",
  "owners": "heading_sections",
  "match": "normalized_heading_path",
  "read": "source_augmented_portable_write",
  "attach": "tracker_layout_merge",
  "comment_style": "html_comment",
  "render": "markdown_blocks",
  "surfaces": [
    {
      "name": "fenced_code_block",
      "selector": "language_tag"
    }
  ],
  "delegates": [
    {
      "surface": "fenced_code_block",
      "strategy": "by_language"
    }
  ],
  "capabilities": {
    "nested_merge": true
  }
}