Override demo#

We test it inheritance override system.

Document A

foo
bar
{{A block}}

Document B

Tangled block 'Result block' [from here]

foo
bar
foo

Expected:

foo
bar
foo

Document C

new foo

Tangled block 'Result block' [from here]

new foo
bar
foo

Expected:

new foo
bar
foo

Document D

more foo

Tangled block 'Result block' [from here]

foo
more foo
bar
foo
more foo

Expected:

foo
more foo
bar
foo
more foo

Inherit from grand-parents#

Grand-parent#

grand-parent's foo
grand-parent's bar
grand-parent's baz

Tangled block 'Result' [from here]

grand-parent's foo
grand-parent's bar
grand-parent's baz

Parent#

parent's bar

Tangled block 'Result' [from here]

grand-parent's foo
grand-parent's bar
grand-parent's baz

Child#

child's foo
child's bar (replaces the parent but not affecting the grand-parent)
child's baz

Tangled block 'Result' [from here]

child's foo
grand-parent's bar
grand-parent's baz
child's baz

Expected

child's foo
grand-parent's bar
grand-parent's baz
child's baz