By Michael S @michaelS
I activated mathjax for questions and answers by adding the following lines to the Scripts HTML Section in the Admin Panel:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true
}
});
</script>
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<script>
talkyard.postElemPostProcessor = function(elem) {
console.log('Telling MathJax to post process elem: ' + elem);
MathJax.Hub.Queue(["Typeset", MathJax.Hub, elem]);
};
</script>
However this doesn't seem to work for the abstracts of the questions in the overview list. So how can I make it work there as well?
- KajMagnus @KajMagnus2020-03-14 23:10:08.468Z
the abstracts of the questions in the overview list
That's the forum topic list / question list? In this forum, it'd be this page?: https://www.talkyard.io/forum/latest/support
This has not yet been implemented, actually. Right now, the text on those question-overview / forum-topics pages, are just plain text.
- MMichael S @michaelS
I noticed that it works if I reload the topic/question list in my browser.