Skip to content
LING 582 (FA 2025)
GitHub

MDX example

MDX supports extended markdown, HTML, and JSX.

Adding images

You can use HTML <img> tags to add images to your posts:

1<img src="images/lou-reed.jpg" alt="Lou Reed (image from en.wikipedia.org/wiki/Lou_Reed)"/>
Lou Reed (image from en.wikipedia.org/wiki/Lou_Reed)

Alternatively, you can use markdown syntax:

1!["Lou Reed (image from en.wikipedia.org/wiki/Lou_Reed)"](images/lou-reed.jpg)

"Lou Reed (image from en.wikipedia.org/wiki/Lou_Reed)"

Note that with markdown syntax, you won't be able to easily resize the image.

Adding math

You can include formulae using LaTeX math mode syntax:

1$$\text{Softmax}(x_{i}) = \frac{\exp(x_{i})}{\sum_{j} \exp(x_{j})}$$

Softmax(xi)=exp(xi)jexp(xj)\text{Softmax}(x_{i}) = \frac{\exp(x_{i})}{\sum_{j} \exp(x_{j})}