What
Implement the m:phant (phantom) OMML → MathML converter. Creates invisible spacing placeholders.
OMML: m:phant → m:phantPr (show, zeroWid, zeroAsc, zeroDesc, transp) + m:e
MathML: `` (invisible but takes space)
Spec: §22.1.2.81
Difficulty: Easy
How to implement
- Create
converters/phantom.ts
- Wrap
m:e content in <mphantom>
- Register as
'm:phant': convertPhantom
Test Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
Want to work on this? Check the Contributing Guide to get started. Comment on this issue to let us know you're picking it up.
Ref: SD-2386
What
Implement the
m:phant(phantom) OMML → MathML converter. Creates invisible spacing placeholders.OMML:
m:phant→m:phantPr(show, zeroWid, zeroAsc, zeroDesc, transp) +m:eMathML: `` (invisible but takes space)
Spec: §22.1.2.81
Difficulty: Easy
How to implement
converters/phantom.tsm:econtent in<mphantom>'m:phant': convertPhantomTest Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
Want to work on this? Check the Contributing Guide to get started. Comment on this issue to let us know you're picking it up.
Ref: SD-2386