How to write inline math variables, equations in Markdown inside Pluto?

ghoshr
Tue, 18 Feb 2025 18:46:19 +0000
New to Julia

I am trying to write some mathematical variables and equations inline in Markdown in Pluto. I am trying to write \dfrac{a}{b} = c and x inside other sentences. And not a/b = c and x. This is how I did it here, and how I do inside \LaTeX documents and Jupyter Notebooks:

I am trying to write $\dfrac{a}{b} = c$ and $x$ *inside* other sentences.

Single $ pair enables rendering math equations inside sentences where double $$ pair enables rendering of equation in a new paragraph in a centered manner.

But, I am unable to do that in Pluto.

Here’s my code:

md"""
* $N$ is the number of atoms in a particular sample
* $dt$ is time difference
* $dN$ is number of atoms decayed in time $dt$
* $\lambda$ is proportionality constant, the value of which depends on the particular radioactive atom
"""

And here how it renders:

This is outright unusable and ugly. I want my mathematical variables to render inside other sentences and bullet lists, and not in a different paragraph. How do I do that?

3 posts - 2 participants