-
Notifications
You must be signed in to change notification settings - Fork 98
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:d (delimiter) OMML → MathML converter. Delimiters are parentheses, brackets, braces, and other enclosing characters around math content.
OMML: m:d → m:dPr (begChr, endChr, sepChr, grow) + one or more m:e (content)
MathML: ( ... ) (use `` for open/close/separator chars)
Spec: §22.1.2.24
Difficulty: Medium
Details
m:dPr/m:begChr@m:val— opening character (default()m:dPr/m:endChr@m:val— closing character (default))m:dPr/m:sepChr@m:val— separator between multiplem:eelements (default|)- Multiple
m:echildren are separated by the separator character
How to implement
- Create
converters/delimiter.ts - Read begChr/endChr/sepChr from
m:dPr(with defaults) - Build
<mrow>with<mo>begChr</mo>, converted children with separators,<mo>endChr</mo> - Register as
'm:d': convertDelimiter
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-2380
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