From e9777d702913574ea236075dac202ebf0384aa21 Mon Sep 17 00:00:00 2001 From: Hrushikesh Vaidya Date: Sun, 28 Jan 2024 09:29:14 +0530 Subject: [PATCH] Fixed {% link %}s --- docs/customizing.md | 2 +- docs/installation-usage.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/customizing.md b/docs/customizing.md index 8308607..d536ba7 100644 --- a/docs/customizing.md +++ b/docs/customizing.md @@ -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. diff --git a/docs/installation-usage.md b/docs/installation-usage.md index 0668ccd..dc82efc 100644 --- a/docs/installation-usage.md +++ b/docs/installation-usage.md @@ -57,4 +57,4 @@ You would build a minimal example as shown below. This example takes the LaTeX f ``` -The API provided by the MJXGUI instance is documented in [MJXGUI Instance documentation]({% link /api/mjxgui-instance.md %}). \ No newline at end of file +The API provided by the MJXGUI instance is documented in [MJXGUI Instance documentation]({% link api/mjxgui-instance.md %}). \ No newline at end of file