Add math run and fraction
This commit is contained in:
9
src/file/paragraph/math/math-text.ts
Normal file
9
src/file/paragraph/math/math-text.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
|
||||
export class MathText extends XmlComponent {
|
||||
constructor(readonly text: string) {
|
||||
super("m:t");
|
||||
|
||||
this.root.push(text);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user