AsciiMath 0.1.1-beta
See the version list below for details.
dotnet add package AsciiMath --version 0.1.1-beta
NuGet\Install-Package AsciiMath -Version 0.1.1-beta
<PackageReference Include="AsciiMath" Version="0.1.1-beta" />
paket add AsciiMath --version 0.1.1-beta
#r "nuget: AsciiMath, 0.1.1-beta"
// Install AsciiMath as a Cake Addin #addin nuget:?package=AsciiMath&version=0.1.1-beta&prerelease // Install AsciiMath as a Cake Tool #tool nuget:?package=AsciiMath&version=0.1.1-beta&prerelease
AsciiMath
An AsciiMath parser for .NET that converts string
AsciiMath expressions into MathML.
This is a .NET port of the ruby AsciiDoctor/AsciiMath implementation
Add the package to your application using
dotnet add package AsciiMath --prerelease
To use the parser, call the static Parser.ToMathMl(input)
method with the AsciiMath string
var asciiMath = "int_-1^1 sqrt(1-x^2)dx = pi/2";
var converted = Parser.ToMathMl(asciiMath);
Console.WriteLine(converted);
// prints <math><msub><mo>∫</mo><mo>−</mo></msub><msup><mn>1</mn><mn>1</mn></msup><msqrt><mrow><mn>1</mn><mo>−</mo><msup><mi>x</mi><mn>2</mn></msup></mrow></msqrt><mi>dx</mi><mo>=</mo><mfrac><mi>π</mi><mn>2</mn></mfrac></math>
Status
This parser is currently in early development and may evolve both in the features it provides and the interface it uses.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.3.0-beta | 270 | 4/22/2024 |
0.2.0-beta | 57 | 4/21/2024 |
0.1.1-beta | 54 | 4/21/2024 |
0.1.0-beta | 58 | 4/21/2024 |
See https://github.com/andrewlock/AsciiMath/blob/main/CHANGELOG.md#v011-beta for more details.