Skip to content

Commit 0bfaf4c

Browse files
committed
Get additionalSymbols option working
1 parent 9afd48c commit 0bfaf4c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
},
170170
"dependencies": {
171171
"@mathjax/mathjax-newcm-font": "4.1.0",
172-
"asciimathml": "^2.3.5",
172+
"asciimathml": "^2.3.7",
173173
"mhchemparser": "^4.2.1",
174174
"mj-context-menu": "^1.0.0",
175175
"speech-rule-engine": "5.0.0-beta.3"

ts/input/asciimath.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ export class AsciiMath<N, T, D> extends AbstractInputJax<N, T, D> {
193193
},
194194
options: {
195195
decimalsign: this.parseOptions.options.decimalsign,
196-
displaystyle: this.parseOptions.options.displaystyle
196+
displaystyle: this.parseOptions.options.displaystyle,
197+
additionalSymbols: this.parseOptions.options?.additionalSymbols || []
197198
}
198199
};
199200

0 commit comments

Comments
 (0)