1,035
edits
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Project | {{Project | ||
|Description=Borrowing mathjax from mathstodon :) | |||
|Part Of=Mastdon/Hacking | |Part Of=Mastdon/Hacking | ||
|Contributors=Jonny Saunders | |Contributors=Jonny Saunders | ||
|Has Git Repository=https://github.com/NeuromatchAcademy/mastodon | |Has Git Repository=https://github.com/NeuromatchAcademy/mastodon | ||
|Completion Status= | |Completion Status=Completed | ||
|Active Status= | |Active Status=Completed | ||
|Approval Status= | |Approval Status=Approved | ||
}} | }} | ||
Up to: [[Part Of::Mastodon/Hacking]] | |||
== Description == | == Description == | ||
Line 18: | Line 19: | ||
* See: [[References Post::https://mathstodon.xyz/@albertcardona/109440700541878151]] | * See: [[References Post::https://mathstodon.xyz/@albertcardona/109440700541878151]] | ||
== Usage == | |||
* Anything within a tag like <code>\( x = y \)</code> for inline equations or <code>\[ x = y \]</code> for lined equations should be rendered by mathjax! | |||
* There is also an equation insert button on the compose box below the emoji bar! | |||
== Code == | == Code == | ||
Line 24: | Line 30: | ||
** Original: [[Has Pull Request::https://github.com/NeuromatchAcademy/mastodon/pull/2]] | ** Original: [[Has Pull Request::https://github.com/NeuromatchAcademy/mastodon/pull/2]] | ||
** (Supercedes original) Pulled into local <code>mathstodon-4.0.2</code> branch, removing font before pulling to feature branch: [[Has Pull Request::https://github.com/NeuromatchAcademy/mastodon/pull/3]] | ** (Supercedes original) Pulled into local <code>mathstodon-4.0.2</code> branch, removing font before pulling to feature branch: [[Has Pull Request::https://github.com/NeuromatchAcademy/mastodon/pull/3]] | ||
** Pulling into dev: [[Has Pull Request::https://github.com/NeuromatchAcademy/mastodon/pull/6]] | |||
* '''Feature Branch:''' [[Has Branch::https://github.com/NeuromatchAcademy/mastodon/tree/feature-mathtex]] | * '''Feature Branch:''' [[Has Branch::https://github.com/NeuromatchAcademy/mastodon/tree/feature-mathtex]] | ||
Line 63: | Line 70: | ||
https://www.howtogeek.com/devops/how-to-apply-git-commit-diffs-to-different-files/ | https://www.howtogeek.com/devops/how-to-apply-git-commit-diffs-to-different-files/ | ||
== Patches == | |||
* Fix problems with CSP | |||
** Issue: [[Has Issue::https://github.com/NeuromatchAcademy/mastodon/issues/32]] | |||
** Pull Request: [[Has Pull Request::https://github.com/NeuromatchAcademy/mastodon/pull/33]] | |||
== TODO == | == TODO == | ||
<markdown> | |||
- [x] Pare down the pull request to just select the mathjax parts | |||
- [x] Actually make the merge work | |||
- [x] Merge it! | |||
</markdown> | |||
== References == | == References == | ||