Mathjax plugin for discourse
JavaScript Ruby
Switch branches/tags
Nothing to show
Clone or download
kasperpeulen Merge pull request #39 from ildoonet/master
change mathjax.js host to the recommended one.
Latest commit 3825354 May 5, 2017
Failed to load latest commit information.
assets/javascripts Support older versions of Discourse Jan 15, 2017
config change mathjax.js host to the recommended one. May 5, 2017
.jshintrc FIX: Remove deprecated $LAB Mar 11, 2015


Mathjax plugin for Discourse.


  • Run bundle exec rake plugin:install repo= in your discourse directory
  • In development mode, run bundle exec rake assets:clean
  • In production, recompile your assets: bundle exec rake assets:precompile
  • Restart Discourse
  • In discourse go to: "Admin -> Settings -> MathJax plugin" and check "enable mathjax plugin."

Installation on top of Docker image

If you have install Discourse on Digital Ocean using a Docker image as described using the Basic Docker Installation Guide then try this:

open "/var/discourse/containers/app.yml" using vim or nano.

add 'git clone' in the after_code hook as follows:

    - exec:
        cd: $home/plugins
          - git clone

Change directory to /var/docker and run ./launcher rebuild app

If you edited a different yaml file such as '/var/discourse/containers/image.yml' then the command would be ./launcher rebuild image.

The app will be down for a minute or so then come back on after the rebuild.