# Use math symbols with Markdown.parse

**URL:** <https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632>\
**Category:** General Usage\
**Tags:** pluto, pluto-markdown\
**Created:** [October 29, 2021, 3:55pm UTC](https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632 "2021-10-29T15:55:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [October 29, 2021, 3:55pm UTC](https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632/1 "2021-10-29T15:55:33Z")

</div>

I need to use Markdown.parse in Pluto in order provide links between notebooks (see this [post](https://discourse.julialang.org/t/hyperlink-to-pluto-notebook/69818/3)). It is not clear to me how to use math symbols in Markdown.parse. Is that possible?

I have a related question about supporting links between notebooks in Pluto. Should they work with the md macro? Switching back and forth between Markdown.parse and md is suboptimal in my opinion. It would be great if the md macro covered all the markdown features.

---

<div class="post-metadata">

**Author:** ![mike](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike/32/39_2.png) [@mike](https://discourse.julialang.org/u/mike)\
**Post date:** [October 29, 2021, 4:04pm UTC](https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632/2 "2021-10-29T16:04:50Z")

</div>

With double backticks for inline maths or ````math` code blocks for display equations:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/7/2789809a25472b3442fa39654eb5398d909c66e8.png)

The same syntax will work with both `md"` and `Markdown.parse`.  
[https://docs.julialang.org/en/v1/stdlib/Markdown/#\\LaTeX](https://docs.julialang.org/en/v1/stdlib/Markdown/#%5C%5CLaTeX)

> [@Christopher\_Fisher](#):
>
> I have a related question about supporting links between notebooks in Pluto. Should they work with the md macro?

Normal links do work in markdown, interpolating into the URL of a link won’t work though. If that’s what you’re asking?

---

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [October 29, 2021, 4:31pm UTC](https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632/3 "2021-10-29T16:31:14Z")

</div>

Hi mike. Yeah. I was asking about interpolating the URL with the macro. The problem is that I need to link to another notebook and to use in text math symbols with Markdown.parse. Here is an example:

 ![pluto_example](https://global.discourse-cdn.com/julialang/original/3X/a/0/a06c6a57824551873e65019fa8fc3d3d4a1c3fdd.png)

As you can see, it works with the md macro, but not with Markdown.parse.

---

<div class="post-metadata">

**Author:** ![mike](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike/32/39_2.png) [@mike](https://discourse.julialang.org/u/mike)\
**Post date:** [October 29, 2021, 4:38pm UTC](https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632/4 "2021-10-29T16:38:12Z")

</div>

`$` symbols need to be escaped with a backslash `\` in normal strings (that don’t have a `md` prefix). So you’d want to write

```julia
Markdown.parse("
Some text and the \$\\tau\$ symbol
")

```

instead. All the escaping needed for that is why the backtick syntax is the recommended way to write any math in Julia’s markdown.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/a/fac748d36ef919e36f84db6b1b55cb46b71e3d2c.png)

---

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [October 29, 2021, 4:38pm UTC](https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632/5 "2021-10-29T16:38:53Z")

</div>

Excellent. Thank you for your help!
