Closed hiyoucai closed 3 weeks ago
duplicate issue. see other one.
Sorry.ok now. Just remove the p tag.
Also for me it doesn't work on pelican 4.8.0
For example:
In markdown I write:
$e=mc^2$
In the output I get:
\(e=mc^2\)
I do not use this plugin, so I can only be of limited assistance. In some brief testing, I could get the following math content to be rendered as expected …
Title: x
Date: 2023-08-10 00:20
Category: x
Slug: x
Authors: x
Summary: x
formulate: $$x^2$$
The area of a circle is: $$A_\text{c} = (\pi/4) d^2$$
Einstein said: $$e=mc^2$$
… but only if I did the following two things:
I don't know whether this indicates that something is awry and therefore should be fixed. If so, pull requests would be welcome.
I do not use this plugin, so I can only be of limited assistance. In some brief testing, I could get the following math content to be rendered as expected …
Title: x Date: 2023-08-10 00:20 Category: x Slug: x Authors: x Summary: x formulate: $$x^2$$ The area of a circle is: $$A_\text{c} = (\pi/4) d^2$$ Einstein said: $$e=mc^2$$
… but only if I did the following two things:
1. Use double-dollar-signs, as shown above. 2. Load the MathJAX Javascript file in the relevant theme template by following the instructions in the README: [Enabling Additional Features](https://github.com/pelican-plugins/render-math#enabling-additional-features)
I don't know whether this indicates that something is awry and therefore should be fixed. If so, pull requests would be welcome.
I also follow similar way. single dollar sign also works for in inline latex
Closing this issue. If there is an actual problem here, and someone can post a comment here with detailed steps regarding how to reproduce said problem, I would be happy to re-open the issue.
I have installed and configured the relevant plugin according to your manual. as follows.
First step: install your plugin.
Second step: specify the pelicanconf.py configuration. as follows.
Third step: write the markdown mathematic formulate. as follows.
Fourth step: compile and build the pelican project. as follow.
pelican content.
Finally, opening the browser. But I found that the math formulate was not change. It's still the same old thing like origin
$x^2$
.It doesn't work. Who can tell me what to do? thanks.
Appendix: