LaTeX in HTML string in Pluto

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:

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

Any ideas?

2 Likes

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