Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–18 unchanged (18 lines)
19 title My day
20 section Go to work
21 1930 : first step : second step
22 : third step
23 1940 : fourth step : fifth step
24 </pre>
25
26 <h2>Medical Device Lifecycle Timeline</h2>
27 <pre class="mermaid">
28 timeline
29 title Medical Device Lifecycle
30 section Planning
31 Quality Management System (4) : Regulatory Compliance (4.1) : Risk Management (4.1.3) : Management Review (5.6) : Infrastructure (6.3)
…lines 32–56 unchanged (25 lines)

After

…lines 1–19 unchanged (19 lines)
20 section Go to work
21 1930 : first step : second step
22 : third step
23 1940 : fourth step : fifth step
24 </pre>
25
26 <h2>Vertical Timeline</h2>
27 <pre class="mermaid">
28 timeline TD
29 title My day
30 section Wake up
31 0600 : step
32 : step
33 section Go to work
34 0800 : first step : second step
35 : third step very very very very very loooooong
36 1940 : fourth step : fifth step
37 </pre>
38
39 <h2>Medical Device Lifecycle Timeline</h2>
40 <pre class="mermaid">
41 timeline
42 title Medical Device Lifecycle
43 section Planning
…lines 44–69 unchanged (26 lines)

Before

document
doctype
<! "<!"
doctype "doctype"
> ">"
element
start_tag
< "<"
tag_name "html"
> ">"
element (+86 nodes collapsed)
element
start_tag
< "<"
tag_name "body"
> ">"
element
start_tag
< "<"
tag_name "pre"
attribute
attribute_name "class"
= "="
quoted_attribute_value
" "\""
attribute_value "mermaid"
" "\""
> ">"
text "timeline\n title My day\n section Go to work\n "...
end_tag
</ "</"
tag_name "pre"
> ">"
element
start_tag
< "<"
tag_name "h2"
> ">"
text "Medical Device Lifecycle Timeline"
end_tag
</ "</"
tag_name "h2"
> ">"
element
start_tag
< "<"
tag_name "pre"
attribute
attribute_name "class"
= "="
quoted_attribute_value
" "\""
attribute_value "mermaid"
" "\""
> ">"
text "timeline\n title Medical Device Lifecycle\n sect"...
end_tag
</ "</"
tag_name "pre"
> ">"
script_element
start_tag
< "<"
tag_name "script"
attribute
attribute_name "type"
= "="
quoted_attribute_value
" "\""
attribute_value "module"
" "\""
> ">"
raw_text "\n import mermaid from './mermaid.esm.mjs';\n mermai"...
end_tag
</ "</"
tag_name "script"
> ">"
end_tag
</ "</"
tag_name "body"
> ">"
end_tag
</ "</"
tag_name "html"
> ">"

After

document
doctype
<! "<!"
doctype "doctype"
> ">"
element
start_tag
< "<"
tag_name "html"
> ">"
element (+86 nodes collapsed)
element
start_tag
< "<"
tag_name "body"
> ">"
element
start_tag
< "<"
tag_name "pre"
attribute
attribute_name "class"
= "="
quoted_attribute_value
" "\""
attribute_value "mermaid"
" "\""
> ">"
text "timeline\n title My day\n section Go to work\n "...
end_tag
</ "</"
tag_name "pre"
> ">"
element
start_tag
< "<"
tag_name "h2"
> ">"
text "Vertical Timeline"
end_tag
</ "</"
tag_name "h2"
> ">"
element
start_tag
< "<"
tag_name "pre"
attribute
attribute_name "class"
= "="
quoted_attribute_value
" "\""
attribute_value "mermaid"
" "\""
> ">"
text "timeline TD\n title My day\n section Wake up\n "...
end_tag
</ "</"
tag_name "pre"
> ">"
element
start_tag
< "<"
tag_name "h2"
> ">"
text "Medical Device Lifecycle Timeline"
end_tag
</ "</"
tag_name "h2"
> ">"
element
start_tag
< "<"
tag_name "pre"
attribute
attribute_name "class"
= "="
quoted_attribute_value
" "\""
attribute_value "mermaid"
" "\""
> ">"
text "timeline\n title Medical Device Lifecycle\n sect"...
end_tag
</ "</"
tag_name "pre"
> ">"
script_element
start_tag
< "<"
tag_name "script"
attribute
attribute_name "type"
= "="
quoted_attribute_value
" "\""
attribute_value "module"
" "\""
> ">"
raw_text "\n import mermaid from './mermaid.esm.mjs';\n mermai"...
end_tag
</ "</"
tag_name "script"
> ">"
end_tag
</ "</"
tag_name "body"
> ">"
end_tag
</ "</"
tag_name "html"
> ">"