2022-11-27 08:11:15PM

This commit is contained in:
Alexander Wang 2022-11-27 20:11:15 -08:00
parent 9d426c4d46
commit 577646b3c9
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
10 changed files with 46 additions and 46 deletions

View file

@ -932,7 +932,7 @@ x -> y: {
script: `
markdown: {
md: |md
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
}
@ -961,6 +961,31 @@ beta: {
alpha -> beta: gamma {
style.font-color: green
}
`,
},
{
name: "latex",
script: `a: |latex
\\Huge{\\frac{\\alpha g^2}{\\omega^5} e^{[ -0.74\\bigl\\{\\frac{\\omega U_\\omega 19.5}{g}\\bigr\\}^{\\!-4}\\,]}}
|
b: |latex
e = mc^2
|
z: |latex
gibberish\\; math:\\sum_{i=0}^\\infty i^2
|
z -> a
z -> b
a -> c
b -> c
sugar -> c
c: mixed together
c -> solution: we get
`,
},
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 508 KiB

After

Width:  |  Height:  |  Size: 506 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 508 KiB

After

Width:  |  Height:  |  Size: 506 KiB

View file

@ -8,8 +8,8 @@
"x": 0,
"y": 0
},
"width": 559,
"height": 148,
"width": 930,
"height": 124,
"level": 1,
"opacity": 1,
"strokeDash": 0,
@ -46,8 +46,8 @@
"x": 50,
"y": 50
},
"width": 459,
"height": 48,
"width": 830,
"height": 24,
"level": 2,
"opacity": 1,
"strokeDash": 0,
@ -65,7 +65,7 @@
"fields": null,
"methods": null,
"columns": null,
"label": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, \nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"label": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "markdown",
@ -73,8 +73,8 @@
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 459,
"labelHeight": 48
"labelWidth": 830,
"labelHeight": 24
}
],
"connections": []

View file

@ -2,7 +2,7 @@
<svg
style="background: white;"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="759" height="348" viewBox="-100 -100 759 348"><style type="text/css">
width="1130" height="324" viewBox="-100 -100 1130 324"><style type="text/css">
<![CDATA[
.shape {
shape-rendering: geometricPrecision;
@ -770,7 +770,7 @@ width="759" height="348" viewBox="-100 -100 759 348"><style type="text/css">
.md .contains-task-list:dir(rtl) .task-list-item-checkbox {
margin: 0 -1.6em 0.25em 0.2em;
}
</style><g id="markdown"><g class="shape" ><rect x="0" y="0" width="559" height="148" style="fill:#E3E9FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="279.500000" y="33.000000" style="text-anchor:middle;font-size:28px;fill:#0A0F25">markdown</text></g><g id="markdown.md"><g class="shape" ></g><g><foreignObject requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" x="50.000000" y="50.000000" width="459" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="md"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit,<br />
</style><g id="markdown"><g class="shape" ><rect x="0" y="0" width="930" height="124" style="fill:#E3E9FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="465.000000" y="33.000000" style="text-anchor:middle;font-size:28px;fill:#0A0F25">markdown</text></g><g id="markdown.md"><g class="shape" ></g><g><foreignObject requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" x="50.000000" y="50.000000" width="830" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="md"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div></foreignObject></g></g><style type="text/css"><![CDATA[
.text {

Before

Width:  |  Height:  |  Size: 659 KiB

After

Width:  |  Height:  |  Size: 659 KiB

View file

@ -8,8 +8,8 @@
"x": 12,
"y": 12
},
"width": 609,
"height": 198,
"width": 980,
"height": 174,
"level": 1,
"opacity": 1,
"strokeDash": 0,
@ -46,8 +46,8 @@
"x": 87,
"y": 87
},
"width": 459,
"height": 48,
"width": 830,
"height": 24,
"level": 2,
"opacity": 1,
"strokeDash": 0,
@ -65,7 +65,7 @@
"fields": null,
"methods": null,
"columns": null,
"label": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, \nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"label": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "markdown",
@ -73,8 +73,8 @@
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 459,
"labelHeight": 48
"labelWidth": 830,
"labelHeight": 24
}
],
"connections": []

View file

@ -2,7 +2,7 @@
<svg
style="background: white;"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="809" height="398" viewBox="-88 -88 809 398"><style type="text/css">
width="1180" height="374" viewBox="-88 -88 1180 374"><style type="text/css">
<![CDATA[
.shape {
shape-rendering: geometricPrecision;
@ -770,7 +770,7 @@ width="809" height="398" viewBox="-88 -88 809 398"><style type="text/css">
.md .contains-task-list:dir(rtl) .task-list-item-checkbox {
margin: 0 -1.6em 0.25em 0.2em;
}
</style><g id="markdown"><g class="shape" ><rect x="12" y="12" width="609" height="198" style="fill:#E3E9FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="316.500000" y="45.000000" style="text-anchor:middle;font-size:28px;fill:#0A0F25">markdown</text></g><g id="markdown.md"><g class="shape" ></g><g><foreignObject requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" x="87.000000" y="87.000000" width="459" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="md"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit,<br />
</style><g id="markdown"><g class="shape" ><rect x="12" y="12" width="980" height="174" style="fill:#E3E9FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="502.000000" y="45.000000" style="text-anchor:middle;font-size:28px;fill:#0A0F25">markdown</text></g><g id="markdown.md"><g class="shape" ></g><g><foreignObject requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" x="87.000000" y="87.000000" width="830" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="md"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div></foreignObject></g></g><style type="text/css"><![CDATA[
.text {

Before

Width:  |  Height:  |  Size: 659 KiB

After

Width:  |  Height:  |  Size: 659 KiB

View file

@ -13,31 +13,6 @@ func testTodo(t *testing.T) {
script: `
container.first -> container.second: 1->2
container -> container.second: c->2
`,
},
{
name: "latex",
script: `a: |latex
\\Huge{\\frac{\\alpha g^2}{\\omega^5} e^{[ -0.74\\bigl\\{\\frac{\\omega U_\\omega 19.5}{g}\\bigr\\}^{\\!-4}\\,]}}
|
b: |latex
e = mc^2
|
z: |latex
gibberish\\; math:\\sum_{i=0}^\\infty i^2
|
z -> a
z -> b
a -> c
b -> c
sugar -> c
c: mixed together
c -> solution: we get
`,
},
}