📘 Intro to learning IVY‐MD Syntax - NagusameCS/IVY GitHub Wiki

Markdown is a lightweight markup language that lets you write formatted text using plain text. It’s incredibly easy to learn, but powerful enough to create complex documents, websites, and more.

We use MD as the basis for the rest of our interpretter mainly thanks to this ease of use.

We additionally make use of Chart.js, Mermaid.js and Desmos for more complex functionality which lets us do more than even the standard Github MD Viewer


🗂️ Standard/Basic Syntax

Generally we recomend you check out this guide to learn the standard MD syntax, everything not covered on there we will explain below.

As an additional note most LLM's are capable of teaching and understanding standard MD so use that to your advantage, AI is a great educational tool for learning new languages


🔢 MATH

The first type of Math text is called Inline Math

To write Inline Math, wrap your LaTeX code in single dollar signs as follows:

Let $x \in \mathbb{R}$ such that $x^2 \geq 0$.

Which renders as

Let $x \in \mathbb{R}$ such that $x^2 \geq 0$.

The second main type is called Display Math

To write Display Math, wrap your LaTeX code in double dollar signs as follows:

$$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$$

Which renders as

$$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$$

Heres a general toolkit/list of supported functions

📑 Markschemes

To create a collapsable markscheme you would construct it via the following:

<details>
<summary>Markscheme</summary>

---

CONTENT IN HERE

</details>

It will come out looking something like this:

Markscheme

CONTENT IN HERE

Its Generally recomended that you just copy paste it rather than memorizing

⚠️ **GitHub.com Fallback** ⚠️