Flask-PageDown and MathJax

0 votes
I have implemented PageDown in my Flask app via Flask-PageDown.

It is working fine but mathematical expressions (MathJax) of the type:

$$ .... $$

are not rendered in the previewer via such an extension.

Also, my main template contains the following:
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>

Can anyone help me with this?
Mar 18 in Python by ana1504.k
• 7,870 points
61 views

1 answer to this question.

0 votes
If you want to use the MATHJAX in your flask app just as Octopress you need the following :

python-markdown-math, which is recommended by python-markdown.
answered Mar 18 by SDeb
• 13,180 points

Related Questions In Python

+1 vote
4 answers

How can I concatenate str and int objects?

If you want to concatenate int or ...READ MORE

answered Oct 18, 2018 in Python by subhm
52 views
0 votes
1 answer

How can I find out the index of an element from row and column in Python?

You probably want to use np.ravel_multi_index: [code] import numpy ...READ MORE

answered Apr 16, 2018 in Python by charlie_brown
• 7,720 points
95 views
0 votes
1 answer

What's the difference in Qt between setVisible, setShown and show/hide

show() is just a convenience function for ...READ MORE

answered Apr 17, 2018 in Python by anonymous
1,247 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 332 views
0 votes
1 answer

How can i combine flask and nameko?

You absolutely can use nameko and Flask together.  In that ...READ MORE

answered Feb 4 in Python by SDeb
• 13,180 points
207 views
0 votes
1 answer

How is Python 2.7.3 and Python 3.3 different?

raw_input() is not used in Python 3. Use input()  ...READ MORE

answered Sep 12, 2018 in Python by SDeb
• 13,180 points
36 views