A configuration question #2192
-
As a new beginner, I decided to make my small tiny flask blog support math formula, so I chose arithmatex under python-markdown. After I have read offical documentation, i made such configuration as follows, namely I put mathjax cdn link at the bottom of the block script of base.html template, arithmatex is included by markdown function. But it doesn't work. Can anyone give me a favor? thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 8 replies
-
When providing examples, pictures are fine, but please always post code as copy/pastable code blocks. As far as your question is concerned, why are you configuring |
Beta Was this translation helpful? Give feedback.
-
I delete mdx_math configuration, the code now turns up as: |
Beta Was this translation helpful? Give feedback.
-
But i still really appreciate your help, thank you so much. |
Beta Was this translation helpful? Give feedback.
-
If I typed |
Beta Was this translation helpful? Give feedback.
-
The fact is that i changed nothing and the code was like before, during that time, i thought the reason lies in bleach.clean and then read the docmentation at bleach.clean. |
Beta Was this translation helpful? Give feedback.
-
My app is basicly rests on flask development book and is customizedby myself in some way, i'm sorry for that i do not know what the minimal, reproducible example is for debugging |
Beta Was this translation helpful? Give feedback.
Unfortunately, you've provided very little information that I can work with. You are clearly using a documentation system, one that I am not familiar with. I don't see your MathJax configuration anywhere, so it is likely you don't have it configured properly. Without you providing a minimal, reproducible example, I have no idea what you are doing.
With that said, I can provide a simple working example. This shows a simple, basic MathJax configuration and the setup required for Arithmatex. It will output an HTML file that you can load in your browser. You will see that MathJax works just fine with it.