Skip to content

Commit fc43522

Browse files
committed
doc
1 parent 648aede commit fc43522

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
`@cortex-js/compute-engine/numerics`, and `@cortex-js/compute-engine/interval`
3131
(with existing sub-paths still available, including `math-json`).
3232
- New standalone `LatexSyntax` API (class + `parse()`/`serialize()` helpers) for
33-
LaTeX <-> MathJSON without a `ComputeEngine` instance.
33+
LaTeX <-\> MathJSON without a `ComputeEngine` instance.
3434
- New `ILatexSyntax` interface exposed via `IComputeEngine.latexSyntax` to allow
3535
custom LaTeX parser/serializer implementations.
3636
- All 16 LaTeX domain dictionaries are now exported individually, plus the

src/api.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ Use `expr()` instead.
441441
442442
##### ExpressionComputeEngine.parse()
443443
444+
###### parse(latex, options)
445+
444446
```ts
445447
parse(latex, options?): Expression
446448
```
@@ -456,6 +458,22 @@ but uses the engine's symbol definitions for better parsing accuracy.
456458
457459
####### options?
458460
461+
`Partial`\<[`ParseLatexOptions`](#parselatexoptions)\> & \{
462+
`form`: [`FormOption`](#formoption);
463+
\}
464+
465+
###### parse(latex, options)
466+
467+
```ts
468+
parse(latex, options?): Expression
469+
```
470+
471+
####### latex
472+
473+
`string`
474+
475+
####### options?
476+
459477
`Partial`\<[`ParseLatexOptions`](#parselatexoptions)\> & \{
460478
`form`: [`FormOption`](#formoption);
461479
\}

0 commit comments

Comments
 (0)