Mastodon/Mathjax: Difference between revisions
(→Stumpted: new section) |
(→Discord: new section) |
||
Line 37: | Line 37: | ||
|Text=Aight i'm totally flummoxed about how to get [[Mastodon/Mathjax#Stumpted]] to load. it <really really> wants you to use the <script> tag loading method, which i would rather not do since that makes it way less portable or else requires a call-out to an external CDN, but I can't get the startup functions to trigger programmatically, and i've tried all the various things in their docs as well as some other stuff that isn't. I am tempted to just rewrite the mathstodon stuff using a react component that i was able to find but idk <@451520217139511306> u know anything else about this? | |Text=Aight i'm totally flummoxed about how to get [[Mastodon/Mathjax#Stumpted]] to load. it <really really> wants you to use the <script> tag loading method, which i would rather not do since that makes it way less portable or else requires a call-out to an external CDN, but I can't get the startup functions to trigger programmatically, and i've tried all the various things in their docs as well as some other stuff that isn't. I am tempted to just rewrite the mathstodon stuff using a react component that i was able to find but idk <@451520217139511306> u know anything else about this? | ||
|Link=https://discord.com/channels/1049136631065628772/1051399594363326504/1051779771333357618 | |Link=https://discord.com/channels/1049136631065628772/1051399594363326504/1051779771333357618 | ||
}} | |||
== Discord == | |||
{{Message | |||
|Author=sneakers-the-rat | |||
|Avatar=https://cdn.discordapp.com/avatars/305044217393053697/2970b22bd769d0cd0ee1de79be500e85.png?size=1024 | |||
|Date Sent=22-12-12 20:53:43 | |||
|Channel=mathjax | |||
|Text=[[Mastodon/Mathjax]]: information in this thread about different possible implementation approaches | |||
[[Mastodon/Hacking#Dev Environment]]: Details on setting up [[Vagrant]] for local development | |||
[[Wikibot#TODO]]: implement n-back archiving of threads and previous posts, the parser already supports it | |||
|Link=https://discord.com/channels/1049136631065628772/1051399594363326504/1051965097561567342 | |||
}} | }} |
Revision as of 16:53, 12 December 2022
Up to: Mastodon/Hacking
Description
Mathstodon has nice mathjax support. We don't :(
Let's use theirs!
Code
- Pull Requests:
- Original: https://github.com/NeuromatchAcademy/mastodon/pull/2
- (Supercedes original) Pulled into local
mathstodon-4.0.2
branch, removing font before pulling to feature branch: https://github.com/NeuromatchAcademy/mastodon/pull/3
- Feature Branch: https://github.com/NeuromatchAcademy/mastodon/tree/feature-mathtex
TODO
- Pare down the pull request to just select the mathjax parts
- Actually make the merge work
References
- How to actually goddamn initialize mathjax when loaded in an es6 module: https://github.com/mathjax/MathJax/issues/2194#issuecomment-530623540
Stumpted
Aight i'm totally flummoxed about how to get Mastodon/Mathjax#Stumpted to load. it <really really> wants you to use the <script> tag loading method, which i would rather not do since that makes it way less portable or else requires a call-out to an external CDN, but I can't get the startup functions to trigger programmatically, and i've tried all the various things in their docs as well as some other stuff that isn't. I am tempted to just rewrite the mathstodon stuff using a react component that i was able to find but idk <@451520217139511306> u know anything else about this?
Discord
Mastodon/Mathjax: information in this thread about different possible implementation approaches
Mastodon/Hacking#Dev Environment: Details on setting up Vagrant for local development
Wikibot#TODO: implement n-back archiving of threads and previous posts, the parser already supports it