artisticat1 / obsidian-latex-suite

Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements
MIT License
1.43k stars 56 forks source link

[DOCS] Numbered lists and Missing documentation #336

Closed Unknow0059 closed 1 month ago

Unknow0059 commented 1 month ago

Description

I tried writing

\begin{enumerate}
  \item one
  \item two
  \item three
\end{enumerate}

expecting a numbered list, and all I got was all the text inline, with item being unrecognized. Is this supported or not? Where's the documentation for what's supported and what is not?

Importance

it's basic functionality from latex

shunby commented 1 month ago

This plugin doesn't affect how math is rendered in Obsidian, which is handled by MathJax. For specific details about math rendering, I’d recommend consulting the MathJax documentation. It says:

First and foremost, the TeX input processor implements only the math-mode macros of TeX and LaTeX, not the text-mode macros. MathJax expects that you will use standard HTML tags to handle formatting the text of your page; MathJax only handles the mathematics. So, for example, MathJax does not implement \emph or \begin{enumerate}...\end{enumerate} or other text-mode macros or environments. You must use HTML to handle such formatting tasks. If you need a LaTeX-to-HTML converter, you should consider other options.