File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 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+ < #
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+ #>
17+ [xml]@"
18+ < svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" font-size="3em">
19+ < foreignObject x="0%" y="0%" width="100%" height="100%">
20+ $($this.OuterXml)
21+ < /foreignObject>
22+ < /svg>
23+ "@
24+ </GetScriptBlock >
25+ </ScriptProperty >
26+ </Members >
27+ </Type >
28+ </Types >
You can’t perform that action at this time.
0 commit comments