Skip to content

Commit

Permalink
Fixed {% link %}s
Browse files Browse the repository at this point in the history
  • Loading branch information
hrushikeshrv committed Jan 28, 2024
1 parent 9e1c7e4 commit e9777d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/customizing.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Adding a function to the editor widget is a little different from adding a symbo
1. A class that knows how to generate the LaTeX you need for your function
2. An HTML representation of the function (to show in the editor widget)

You will need to create a class that extends from one of MJXGUI's many Component classes, and override the `toLatex()` method of the class. You can find a list of Component classes MJXGUI provides, along with when to use them in the [Components documentation]({% link /api/components.md %}).
You will need to create a class that extends from one of MJXGUI's many Component classes, and override the `toLatex()` method of the class. You can find a list of Component classes MJXGUI provides, along with when to use them in the [Components documentation]({% link api/components.md %}).

Once you create this class and an MJXGUI instance, call the `registerFunction()` method on the MJXGUI instance to add the function you want.

Expand Down
2 changes: 1 addition & 1 deletion docs/installation-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ You would build a minimal example as shown below. This example takes the LaTeX f
</script>
```

The API provided by the MJXGUI instance is documented in [MJXGUI Instance documentation]({% link /api/mjxgui-instance.md %}).
The API provided by the MJXGUI instance is documented in [MJXGUI Instance documentation]({% link api/mjxgui-instance.md %}).

0 comments on commit e9777d7

Please sign in to comment.