Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit 555c95d

Browse files
committed
Update dependencies
The SVGO option `multipass` is disabled because of svg/svgo#1617.
1 parent b201ec4 commit 555c95d

File tree

13 files changed

+934
-742
lines changed

13 files changed

+934
-742
lines changed

__fixtures__/dark/output.md

Lines changed: 45 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,41 @@
11
# An example of a flowchart
22

3-
<svg xmlns:xlink="http://www.w3.org/1999/xlink" height="233" fill="#ccc" font-family="&quot;trebuchet ms&quot;,verdana,arial,sans-serif" font-size="16" style="max-width:124.640625px" viewBox="0 0 124.641 233">
3+
<svg xmlns:xlink="http://www.w3.org/1999/xlink" height="233" fill="#ccc" font-family="&quot;trebuchet ms&quot;,verdana,arial,sans-serif" font-size="16px" style="max-width:124.640625px" viewBox="0 0 124.641 233">
44
<defs>
55
<path id="b" fill="#d3d3d3" stroke-dasharray="1,0" d="m0 0 10 5-10 5z"/>
66
</defs>
7-
<path fill="none" stroke="#d3d3d3" stroke-width="2" marker-end="url(#a)" d="m47.473 44.015-4.157 4.664c-4.157 4.664-12.47 13.993-16.628 22.823-4.157 8.831-4.157 17.165-4.157 21.331V97"/>
8-
<defs>
9-
<marker id="a" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
10-
<use xlink:href="#b" stroke-dasharray="1,0"/>
11-
</marker>
12-
</defs>
13-
<path fill="none" stroke="#d3d3d3" stroke-width="2" marker-end="url(#c)" d="m76.91 44.015 4.157 4.664c4.157 4.664 12.47 13.993 16.628 22.823 4.157 8.831 4.157 17.165 4.157 21.331V97"/>
14-
<defs>
15-
<marker id="c" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
16-
<use xlink:href="#b" stroke-dasharray="1,0"/>
17-
</marker>
18-
</defs>
19-
<path fill="none" stroke="#d3d3d3" stroke-width="2" marker-end="url(#d)" d="M22.531 136v4.167c0 4.166 0 12.5 4.126 21.295 4.126 8.796 12.377 18.054 16.503 22.684l4.125 4.629"/>
20-
<defs>
21-
<marker id="d" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
22-
<use xlink:href="#b" stroke-dasharray="1,0"/>
23-
</marker>
24-
</defs>
25-
<path fill="none" stroke="#d3d3d3" stroke-width="2" marker-end="url(#e)" d="M101.852 136v4.167c0 4.166 0 12.5-4.126 21.295-4.126 8.796-12.377 18.054-16.503 22.684l-4.125 4.629"/>
26-
<defs>
27-
<marker id="e" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
28-
<use xlink:href="#b" stroke-dasharray="1,0"/>
29-
</marker>
30-
</defs>
7+
<g opacity="1">
8+
<path fill="none" stroke="#d3d3d3" stroke-width="2px" marker-end="url(#a)" d="m47.473 44.015-4.157 4.664c-4.157 4.664-12.47 13.993-16.628 22.823-4.157 8.831-4.157 17.165-4.157 21.331V97"/>
9+
<defs>
10+
<marker id="a" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
11+
<use xlink:href="#b" stroke-dasharray="1,0"/>
12+
</marker>
13+
</defs>
14+
</g>
15+
<g opacity="1">
16+
<path fill="none" stroke="#d3d3d3" stroke-width="2px" marker-end="url(#c)" d="m76.91 44.015 4.157 4.664c4.157 4.664 12.47 13.993 16.628 22.823 4.157 8.831 4.157 17.165 4.157 21.331V97"/>
17+
<defs>
18+
<marker id="c" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
19+
<use xlink:href="#b" stroke-dasharray="1,0"/>
20+
</marker>
21+
</defs>
22+
</g>
23+
<g opacity="1">
24+
<path fill="none" stroke="#d3d3d3" stroke-width="2px" marker-end="url(#d)" d="M22.531 136v4.167c0 4.166 0 12.5 4.126 21.295 4.126 8.796 12.377 18.054 16.503 22.684l4.125 4.629"/>
25+
<defs>
26+
<marker id="d" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
27+
<use xlink:href="#b" stroke-dasharray="1,0"/>
28+
</marker>
29+
</defs>
30+
</g>
31+
<g opacity="1">
32+
<path fill="none" stroke="#d3d3d3" stroke-width="2px" marker-end="url(#e)" d="M101.852 136v4.167c0 4.166 0 12.5-4.126 21.295-4.126 8.796-12.377 18.054-16.503 22.684l-4.125 4.629"/>
33+
<defs>
34+
<marker id="e" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
35+
<use xlink:href="#b" stroke-dasharray="1,0"/>
36+
</marker>
37+
</defs>
38+
</g>
3139
<foreignObject width="0" height="0" color="#ccc" style="background-color:#585858;text-align:center">
3240
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
3341
<span fill="#ccc" color="#ccc" style="background-color:#585858;text-align:center"/>
@@ -48,33 +56,33 @@
4856
<span fill="#ccc" color="#ccc" style="background-color:#585858;text-align:center"/>
4957
</div>
5058
</foreignObject>
51-
<g transform="translate(62.191 27.5)">
52-
<rect width="29.438" height="39" x="-14.719" y="-19.5" fill="#1f2020" stroke="#81b1db" rx="0" ry="0"/>
53-
<foreignObject width="9.438" height="19" color="#ccc" style="text-align:center" transform="translate(-4.719 -9.5)">
59+
<g opacity="1" transform="translate(62.191 27.5)">
60+
<rect width="29.438" height="39" x="-14.719" y="-19.5" fill="#1f2020" stroke="#81b1db" stroke-width="1px" rx="0" ry="0"/>
61+
<foreignObject width="9.438" height="19" transform="translate(-4.719 -9.5)" color="#ccc" style="text-align:center">
5462
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
5563
A
5664
</div>
5765
</foreignObject>
5866
</g>
59-
<g transform="translate(22.531 116.5)">
60-
<rect width="29.063" height="39" x="-14.531" y="-19.5" fill="#1f2020" stroke="#81b1db" rx="0" ry="0"/>
61-
<foreignObject width="9.063" height="19" color="#ccc" style="text-align:center" transform="translate(-4.531 -9.5)">
67+
<g opacity="1" transform="translate(22.531 116.5)">
68+
<rect width="29.063" height="39" x="-14.531" y="-19.5" fill="#1f2020" stroke="#81b1db" stroke-width="1px" rx="0" ry="0"/>
69+
<foreignObject width="9.063" height="19" transform="translate(-4.531 -9.5)" color="#ccc" style="text-align:center">
6270
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
6371
B
6472
</div>
6573
</foreignObject>
6674
</g>
67-
<g transform="translate(101.852 116.5)">
68-
<rect width="29.578" height="39" x="-14.789" y="-19.5" fill="#1f2020" stroke="#81b1db" rx="0" ry="0"/>
69-
<foreignObject width="9.578" height="19" color="#ccc" style="text-align:center" transform="translate(-4.79 -9.5)">
75+
<g opacity="1" transform="translate(101.852 116.5)">
76+
<rect width="29.578" height="39" x="-14.789" y="-19.5" fill="#1f2020" stroke="#81b1db" stroke-width="1px" rx="0" ry="0"/>
77+
<foreignObject width="9.578" height="19" transform="translate(-4.79 -9.5)" color="#ccc" style="text-align:center">
7078
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
7179
C
7280
</div>
7381
</foreignObject>
7482
</g>
75-
<g transform="translate(62.191 205.5)">
76-
<rect width="29.813" height="39" x="-14.906" y="-19.5" fill="#1f2020" stroke="#81b1db" rx="0" ry="0"/>
77-
<foreignObject width="9.813" height="19" color="#ccc" style="text-align:center" transform="translate(-4.906 -9.5)">
83+
<g opacity="1" transform="translate(62.191 205.5)">
84+
<rect width="29.813" height="39" x="-14.906" y="-19.5" fill="#1f2020" stroke="#81b1db" stroke-width="1px" rx="0" ry="0"/>
85+
<foreignObject width="9.813" height="19" transform="translate(-4.906 -9.5)" color="#ccc" style="text-align:center">
7886
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
7987
D
8088
</div>

__fixtures__/flowchart/output.md

Lines changed: 45 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,41 @@
11
# An example of a flowchart
22

3-
<svg xmlns:xlink="http://www.w3.org/1999/xlink" height="233" fill="#333" font-family="&quot;trebuchet ms&quot;,verdana,arial,sans-serif" font-size="16" style="max-width:124.640625px" viewBox="0 0 124.641 233">
3+
<svg xmlns:xlink="http://www.w3.org/1999/xlink" height="233" fill="#333" font-family="&quot;trebuchet ms&quot;,verdana,arial,sans-serif" font-size="16px" style="max-width:124.640625px" viewBox="0 0 124.641 233">
44
<defs>
55
<path id="b" stroke-dasharray="1,0" d="m0 0 10 5-10 5z"/>
66
</defs>
7-
<path fill="none" stroke="#333" stroke-width="2" marker-end="url(#a)" d="m47.473 44.015-4.157 4.664c-4.157 4.664-12.47 13.993-16.628 22.823-4.157 8.831-4.157 17.165-4.157 21.331V97"/>
8-
<defs>
9-
<marker id="a" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
10-
<use xlink:href="#b" stroke-dasharray="1,0"/>
11-
</marker>
12-
</defs>
13-
<path fill="none" stroke="#333" stroke-width="2" marker-end="url(#c)" d="m76.91 44.015 4.157 4.664c4.157 4.664 12.47 13.993 16.628 22.823 4.157 8.831 4.157 17.165 4.157 21.331V97"/>
14-
<defs>
15-
<marker id="c" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
16-
<use xlink:href="#b" stroke-dasharray="1,0"/>
17-
</marker>
18-
</defs>
19-
<path fill="none" stroke="#333" stroke-width="2" marker-end="url(#d)" d="M22.531 136v4.167c0 4.166 0 12.5 4.126 21.295 4.126 8.796 12.377 18.054 16.503 22.684l4.125 4.629"/>
20-
<defs>
21-
<marker id="d" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
22-
<use xlink:href="#b" stroke-dasharray="1,0"/>
23-
</marker>
24-
</defs>
25-
<path fill="none" stroke="#333" stroke-width="2" marker-end="url(#e)" d="M101.852 136v4.167c0 4.166 0 12.5-4.126 21.295-4.126 8.796-12.377 18.054-16.503 22.684l-4.125 4.629"/>
26-
<defs>
27-
<marker id="e" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
28-
<use xlink:href="#b" stroke-dasharray="1,0"/>
29-
</marker>
30-
</defs>
7+
<g opacity="1">
8+
<path fill="none" stroke="#333" stroke-width="2px" marker-end="url(#a)" d="m47.473 44.015-4.157 4.664c-4.157 4.664-12.47 13.993-16.628 22.823-4.157 8.831-4.157 17.165-4.157 21.331V97"/>
9+
<defs>
10+
<marker id="a" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
11+
<use xlink:href="#b" stroke-dasharray="1,0"/>
12+
</marker>
13+
</defs>
14+
</g>
15+
<g opacity="1">
16+
<path fill="none" stroke="#333" stroke-width="2px" marker-end="url(#c)" d="m76.91 44.015 4.157 4.664c4.157 4.664 12.47 13.993 16.628 22.823 4.157 8.831 4.157 17.165 4.157 21.331V97"/>
17+
<defs>
18+
<marker id="c" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
19+
<use xlink:href="#b" stroke-dasharray="1,0"/>
20+
</marker>
21+
</defs>
22+
</g>
23+
<g opacity="1">
24+
<path fill="none" stroke="#333" stroke-width="2px" marker-end="url(#d)" d="M22.531 136v4.167c0 4.166 0 12.5 4.126 21.295 4.126 8.796 12.377 18.054 16.503 22.684l4.125 4.629"/>
25+
<defs>
26+
<marker id="d" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
27+
<use xlink:href="#b" stroke-dasharray="1,0"/>
28+
</marker>
29+
</defs>
30+
</g>
31+
<g opacity="1">
32+
<path fill="none" stroke="#333" stroke-width="2px" marker-end="url(#e)" d="M101.852 136v4.167c0 4.166 0 12.5-4.126 21.295-4.126 8.796-12.377 18.054-16.503 22.684l-4.125 4.629"/>
33+
<defs>
34+
<marker id="e" markerHeight="6" markerUnits="strokeWidth" markerWidth="8" orient="auto" refX="9" refY="5" viewBox="0 0 10 10">
35+
<use xlink:href="#b" stroke-dasharray="1,0"/>
36+
</marker>
37+
</defs>
38+
</g>
3139
<foreignObject width="0" height="0" color="#333" style="background-color:#e8e8e8;text-align:center">
3240
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
3341
<span fill="#333" color="#333" style="background-color:#e8e8e8;text-align:center"/>
@@ -48,33 +56,33 @@
4856
<span fill="#333" color="#333" style="background-color:#e8e8e8;text-align:center"/>
4957
</div>
5058
</foreignObject>
51-
<g transform="translate(62.191 27.5)">
52-
<rect width="29.438" height="39" x="-14.719" y="-19.5" fill="#ececff" stroke="#9370db" rx="0" ry="0"/>
53-
<foreignObject width="9.438" height="19" color="#333" style="text-align:center" transform="translate(-4.719 -9.5)">
59+
<g opacity="1" transform="translate(62.191 27.5)">
60+
<rect width="29.438" height="39" x="-14.719" y="-19.5" fill="#ececff" stroke="#9370db" stroke-width="1px" rx="0" ry="0"/>
61+
<foreignObject width="9.438" height="19" transform="translate(-4.719 -9.5)" color="#333" style="text-align:center">
5462
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
5563
A
5664
</div>
5765
</foreignObject>
5866
</g>
59-
<g transform="translate(22.531 116.5)">
60-
<rect width="29.063" height="39" x="-14.531" y="-19.5" fill="#ececff" stroke="#9370db" rx="0" ry="0"/>
61-
<foreignObject width="9.063" height="19" color="#333" style="text-align:center" transform="translate(-4.531 -9.5)">
67+
<g opacity="1" transform="translate(22.531 116.5)">
68+
<rect width="29.063" height="39" x="-14.531" y="-19.5" fill="#ececff" stroke="#9370db" stroke-width="1px" rx="0" ry="0"/>
69+
<foreignObject width="9.063" height="19" transform="translate(-4.531 -9.5)" color="#333" style="text-align:center">
6270
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
6371
B
6472
</div>
6573
</foreignObject>
6674
</g>
67-
<g transform="translate(101.852 116.5)">
68-
<rect width="29.578" height="39" x="-14.789" y="-19.5" fill="#ececff" stroke="#9370db" rx="0" ry="0"/>
69-
<foreignObject width="9.578" height="19" color="#333" style="text-align:center" transform="translate(-4.79 -9.5)">
75+
<g opacity="1" transform="translate(101.852 116.5)">
76+
<rect width="29.578" height="39" x="-14.789" y="-19.5" fill="#ececff" stroke="#9370db" stroke-width="1px" rx="0" ry="0"/>
77+
<foreignObject width="9.578" height="19" transform="translate(-4.79 -9.5)" color="#333" style="text-align:center">
7078
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
7179
C
7280
</div>
7381
</foreignObject>
7482
</g>
75-
<g transform="translate(62.191 205.5)">
76-
<rect width="29.813" height="39" x="-14.906" y="-19.5" fill="#ececff" stroke="#9370db" rx="0" ry="0"/>
77-
<foreignObject width="9.813" height="19" color="#333" style="text-align:center" transform="translate(-4.906 -9.5)">
83+
<g opacity="1" transform="translate(62.191 205.5)">
84+
<rect width="29.813" height="39" x="-14.906" y="-19.5" fill="#ececff" stroke="#9370db" stroke-width="1px" rx="0" ry="0"/>
85+
<foreignObject width="9.813" height="19" transform="translate(-4.906 -9.5)" color="#333" style="text-align:center">
7886
<div xmlns="http://www.w3.org/1999/xhtml" display="inline-block" style="white-space:nowrap">
7987
D
8088
</div>

0 commit comments

Comments
 (0)