Schrodinger's Cat Strikes Back

Home » Technical issues » What Plugins do we need?

What Plugins do we need?

As expected, not everything we are used to from SE works by default when installing Q2A as it is and creating a site. However there are some helpful plugins to improve the functionality of the site.

So this short post is to keep track of what is already installed or has been tested and what plugins would potentially be nice and useful to have.

Suggestions of useful plugins can be pointed out in the comments.

Already installed and tested:

Edit History

This allows puts a link below each post to view the edit history. There is no roll back feature and they only plan to allow moderators to roll back in a future version. The link is a bit capricious, which may be related to the fact that there seems to be a

Q2A Markdown Editor LaTex

Certain things as for example the array environment



Do not work for some reason, whereas when displaying the question on MathOverflow for example :-P, it works beautifully …
Maybe the “standard Markdown Editor together with a Java script for LaTex works better, as suggested by Dimension10 (?) …

Add an image upload button to the Markdown Editor

This works nicely, without solving the LaTex problems however …

Here is a stupid question with a nice image:


Comment voting

There appear no comment vote buttens for some reason, but the provider wisely said that it might not work as expected…

Q2A tagging tool

Works nicely

Pinging @user

This seems to have a bug

To be installed and tested as soon as possible

Q2A History

Q2A Markdown Editor

This needs to be complemented by a Mathjax Java script

Pinging @user


RSS feeds

Prevent simultanous edits




  1. I think I managed to understand the problem with the MarkDown + LaTeX.

    I found out somewhere on that in an earlier version of MaThJaX, the commands like “\begin”, “\end” weren’t installed.
    Probably, the MD+MJ editor used this old version of MaThJaX. This problem is also evident, on e.g. AskBot.
    As for it working in the edit histories, my explanation is that the edit history plug-in has an intrinsic MaThJaX renderer which uses the latest CDN or file.

    This problem can be fixed by using the standard MD editor with the image upload button.

    • Dilaton says:

      The Markdown Editor with the image upload button works :-), however it does not solve the LaTex Problem…

      • Well, obviously the image upload won’t solve a LaTeX problem.

        When you say it “works”, do you mean that an image can actually be uploaded (not just a link)/ ? If so, to which image host (Assuming it’s not the PostImage extension that you used) ?

        • Dilaton says:

          The image is displayed directly in the post, you can either upload it from your computer or give a link, similar to how it works on SE. You can see an example in this blogpost, but dont laugh at my stupid test questions 😛
          I have not looked at how and where the image is hosted …

          Concerning the LaTex, I can test if it helps when I do exlusively this second +1 answer to this questions

          and nothing else. Do work with the LaTex Markdown Editor we had to slightly change some scripts etc too …

          • Oh, that’s nice! But I still don’t get it, which image service does it use? It’s important to ensure that it doesn’t randomly destroy it’s images.

            The second answer is the same as what I said, adding the CDN to the top of the page.

            By the way, you don’t actually need to any major script-changing for that. It can be found in the administrator panel.

            • Dilaton says:

              Maybe one could ask in the Q2A Forum about what image service the Plugin uses, in the Fucking Manual how to install it this is not explained

              Concerning the LaTex, I have written these lines at the top if each page (Admin -> Layout)

              MathJax.Hub.Config({ extensions: [“tex2jax.js”], jax: [“input/TeX”,”output/HTML-CSS”], tex2jax: {inlineMath: [[“$”,”$”],[“\\(“,”\\)”]]}, TeX: { extensions: [“AMSmath.js”,”AMSsymbols.js”]} });

              and this at the Head of each page

              The first one might be only needed by the LaTex Markdown-Editor however …

  2. Not a plug – in, but a suggestion: If we are using the markdown editor, we could try using the Courier New font instead.

  3. Here’s a plug – in that allows one to *upload* an image (not just post a link) using a service called PostImage.Org.

  4. Have you tested out the MJ-CDN+Ordinary MD Editour?.

    • Dilaton says:

      Yep that is the last possibility to be tested 🙂

      My technical friendly helper ( this user is maybe interested in the new site too, has found out, that the Markdown Editor with Latex swallows from time to time som characters, such to obtain “row breaks” in a matix one has to write /// instead o // for example. As the problem persists when using the ME with image upload button, I suspect that that one does the same and the probability is hight that the most simple one will do the same … He said he will investigat the issues with the Markdown Editors further 🙂

      Conserning importing the TP data, my friendly technical helper managed to import the users, whereas importing the posts is still work in progress …


    The in-built favouriting is not really bookmarking as you don’t get to track activity on it.

  6. It seems that Phys.SE does not’ use the ordinary MaThJaX CDN, as you can see from the html of any Phys/.SE page.

    MathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50) },
    tex2jax: { inlineMath: [ ["$", "$"], ["\\\\(","\\\\)"] ], displayMath: [ ["$$","$$"], ["\\[", "\\]"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno" },
    TeX: { noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } }, Macros: { href: "{}" } },
    messageStyle: "none"

    If one does not use this, then inline maths will have to be entered as \(MATH-EXPRESSION-HOW-TO-SPELL-THAT\) instead of $MATH-EXPRESSION-H0W-TO-SPELL-THAT$.

    I propose that we slightly modify that further as

    MathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50) },
    tex2jax: { inlineMath: [ ["$", "$"], ["\\\\(","\\\\)"], ["##","##"] ], displayMath: [ ["$$","$$"], ["\\[", "\\]"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno" },
    TeX: { noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } }, Macros: { href: "{}" } },
    messageStyle: "none"

    ‘` :

  7. […] have already discussed Plugin Customisation for Q2A   but Q2A even allows customisation in the core itself. And this customisation is […]

  8. […] Then you can choose either the Markdown Editor or a WYSIWYG Editor as the default for posting questions, answers, and comments. Here, I think we should choose an appropriate Markdown Editor, see also the discussion about Plugins. […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: