Hello,
The inline stuff is fine with markup of a p when dealing with images, but not with text, which comes through in the md->pdf but without center alignment. I understand it should be ignored, but it is not. Secondly, putting classes on divs is not working on some epub readers for centering (only on the p).
I did a workaround of putting my text into an image, and that works out (this is for the dinkus/asterism), though the problem still persists of text being markedup in div or p not being ignored by latex when md->pdf.
working code:
~~~~
<p class="center"><img src="dinkus.png" /></p>
`\begin{center} ∗ ∗ ∗ \end{center}`{=latex}
~~~~
Sincerely,
Jeff Mcneill
On Tuesday, October 29, 2019 at 12:03:07 AM UTC+7, BP wrote:
I wrote:
> If you want to insert the LaTeX code directly into the Markdown you should do this:
>
> ````````markdown
> ```{=latex}
> \begin{center}
> ```
>
> \includegraphics{politics/analects/images/figure-analects-02.jpg}
>
> ```{=latex}
> \end{center}
> ```
> ````````
That should of course have been:
If you want to insert the LaTeX code directly into the Markdown you
should do this:
````````markdown
```{=latex}
\begin{center}
```
::: {.center}
![](politics/analects/images/figure-analects-02.jpg)
:::
```{=latex}
\end{center}
```
````````
Sorry for the confusion!