mathpix-markdown-it
                                
                                 mathpix-markdown-it copied to clipboard
                                
                                    mathpix-markdown-it copied to clipboard
                            
                            
                            
                        Support latex inside html
Hi Mathpix Team,
With the option htmlTags={true} on a MathpixMarkdown component it is possible to render html, but it seems not to be possible to write latex inside html. Do you think there is a way to implement this capability?
For example, can you provide any way to render:
<MathpixMarkdown htmlTags={true} text={"<div>$$2+2$$</div>"}
another example:
<ol>
<li>\begin{align*}
&\frac{x+4}{(x+1)(x-2)}
\end{align*}</li>
</ol>
With the option htmlTags={true} on a MathpixMarkdown component it is possible to render html, but it seems not to be possible to write latex inside html. Do you think there is a way to implement this capability?
Yes, you are right, at the moment there is no such possibility, but perhaps it will be implemented in the future.
You can use LaTeX syntax for this:
\begin{itemize}
  \item One entry in the list
  \item 
  \begin{align*}
	&\frac{x+4}{(x+1)(x-2)}
  \end{align*}
\end{itemize}
\begin{enumerate}
  \item The labels consists of sequential numbers.
  \item \begin{align*}
	&\frac{x+4}{(x+1)(x-2)}
  \end{align*}
\end{enumerate}
You can try it View Demo
 
More information about LaTeX List Syntax: https://mathpix.com/docs/mathpix-markdown/lists
@OlgaRedozubova, Please let me know if this functionality is still planned to be implemented in the future