# LaTeX in HTML string in Pluto

**URL:** <https://discourse.julialang.org/t/latex-in-html-string-in-pluto/64571>\
**Category:** General Usage\
**Tags:** pluto, html, pluto-and-latex\
**Created:** [July 13, 2021, 1:48pm UTC](https://discourse.julialang.org/t/latex-in-html-string-in-pluto/64571 "2021-07-13T13:48:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mthelm85](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mthelm85/32/224164_2.png) [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Post date:** [July 13, 2021, 1:48pm UTC](https://discourse.julialang.org/t/latex-in-html-string-in-pluto/64571/1 "2021-07-13T13:48:22Z")

</div>

I’ve been trying to run a snippet from a notebook that was built with an older version of Pluto in the latest release and my LaTeX isn’t rendering. Here’s the code cell:

```julia
html"""
<table class="no-border">
<tbody>
<tr>
<td>$\begin{bmatrix}red \\ green \\ blue\end{bmatrix} = \begin{bmatrix}255 \\ 0 \\ 0\end{bmatrix} =$</td>
<td class="red"></td>
</tr>
<tr>
<td>$\begin{bmatrix}red \\ green \\ blue\end{bmatrix} = \begin{bmatrix}75 \\ 200 \\ 0\end{bmatrix} =$</td>
<td class="green"></td>
</tr>
<tr>
<td>$\begin{bmatrix}red \\ green \\ blue\end{bmatrix} = \begin{bmatrix}0 \\ 0 \\ 255\end{bmatrix} =$</td>
<td class="blue"></td>
</tr>
</tbody>
</table>
<style>
.no-border {
	border-width: 0px;
}
.blue {
	background-color: rgb(0, 0, 255);
}
.green {
	background-color: rgb(75,200,0);
}
.red {
	background-color: rgb(255,0,0);
}
</style>
"""

```

This used to display properly but now I’m unable to get any LaTeX inside of an HTML string to render at all (works fine in a Markdown string).

The desired output is:

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

Any ideas?

---

<div class="post-metadata">

**Author:** ![Pisti](https://avatars.discourse-cdn.com/v4/letter/p/c4cdca/32.png) [@Pisti](https://discourse.julialang.org/u/Pisti)\
**Post date:** [September 2, 2024, 5:36pm UTC](https://discourse.julialang.org/t/latex-in-html-string-in-pluto/64571/2 "2024-09-02T17:36:18Z")

</div>

The problem is still alive in 2024. The same problem occurs with HypertextLiteral package if @htl macro is used.
