# discourse-mathjax **Repository Path**: coggle/discourse-mathjax ## Basic Information - **Project Name**: discourse-mathjax - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-14 - **Last Updated**: 2022-05-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README discourse-mathjax ================= Mathjax plugin for [Discourse](http://discourse.org). Installation ============ * Run `bundle exec rake plugin:install repo=https://github.com/kasperpeulen/discourse-mathjax` 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](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) then try this: open "/var/discourse/containers/app.yml" using vim or nano. add 'git clone https://github.com/kasperpeulen/discourse-mathjax' in the after_code hook as follows: hooks: after_code: - exec: cd: $home/plugins cmd: - git clone https://github.com/kasperpeulen/discourse-mathjax 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.