-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
feat: math-mlgood first issueGood for newcomersGood for newcomersproduct: superdocsource: githubstage: to-doPrioritized and ready to be picked upPrioritized and ready to be picked up
Description
What
Implement the m:m (matrix) OMML → MathML converter.
OMML: m:m → m:mPr (column count, justification, spacing) + m:mr rows, each with m:e cells
MathML: with rows and `` cells
Spec: §22.1.2.60
Difficulty: Hard
Details
m:mPr/m:mcs/m:mc/m:mcPr/m:count@m:val— column countm:mPr/m:mcs/m:mc/m:mcPr/m:mcJc@m:val— column justificationm:mr— matrix row, containsm:eelements (one per cell)- Often wrapped in
m:d(delimiter) for brackets:[matrix]
How to implement
- Create
converters/matrix.ts - Iterate
m:mrrows →<mtr>, eachm:e→<mtd> - Register as
'm:m': convertMatrix
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-2387
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat: math-mlgood first issueGood for newcomersGood for newcomersproduct: superdocsource: githubstage: to-doPrioritized and ready to be picked upPrioritized and ready to be picked up