Skip to content

Commit 1094cac

Browse files
feat: Import-MathML ( Fixes #4 )
1 parent 40c39b3 commit 1094cac

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Commands/Import-MathML.ps1

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
function Import-MathML
2+
{
3+
<#
4+
.SYNOPSIS
5+
Imports MathML
6+
.DESCRIPTION
7+
Imports MathML from a file or URL
8+
.LINK
9+
Get-MathML
10+
#>
11+
[Alias('Restore-MathML')]
12+
param(
13+
# The path to a file or URL that hopefully contains MathML
14+
[Parameter(Mandatory,ValueFromPipelineByPropertyName)]
15+
[string]
16+
$FilePath
17+
)
18+
19+
process {
20+
# This is an extremely light wrapper of Get-MathML.
21+
Get-MathML @PSBoundParameters
22+
}
23+
24+
}

0 commit comments

Comments
 (0)