We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MathML.get_SVG
1 parent cf47783 commit 76fcd7aCopy full SHA for 76fcd7a
Types/MathML/get_SVG.ps1
@@ -0,0 +1,15 @@
1
+<#
2
+.SYNOPSIS
3
+ Gets MathML as SVG
4
+.DESCRIPTION
5
+ Gets a MathML equation within an SVG
6
+.LINK
7
+ https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/foreignObject
8
+#>
9
+[xml]@"
10
+<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" font-size="3em">
11
+ <foreignObject x="0%" y="0%" width="100%" height="100%">
12
+ $($this.OuterXml)
13
+ </foreignObject>
14
+</svg>
15
+"@
0 commit comments