Skip to content

Commit 6df5c31

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: MathML schemas ( Fixes #7 )
1 parent 61a5ebc commit 6df5c31

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

MathML.types.ps1xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!-- Generated with EZOut 2.0.6: Install-Module EZOut or https://github.com/StartAutomating/EZOut -->
2+
<Types>
3+
<Type>
4+
<Name>MathML</Name>
5+
<Members>
6+
<ScriptProperty>
7+
<Name>SVG</Name>
8+
<GetScriptBlock>
9+
&lt;#
10+
.SYNOPSIS
11+
Gets MathML as SVG
12+
.DESCRIPTION
13+
Gets a MathML equation within an SVG
14+
.LINK
15+
https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/foreignObject
16+
#&gt;
17+
[xml]@"
18+
&lt;svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" font-size="3em"&gt;
19+
&lt;foreignObject x="0%" y="0%" width="100%" height="100%"&gt;
20+
$($this.OuterXml)
21+
&lt;/foreignObject&gt;
22+
&lt;/svg&gt;
23+
"@
24+
</GetScriptBlock>
25+
</ScriptProperty>
26+
</Members>
27+
</Type>
28+
</Types>

0 commit comments

Comments
 (0)