this post was submitted on 14 Jun 2025
15 points (89.5% liked)

Ask Lemmy

32527 readers
2105 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

Considering to join a lemmy instance not the least because it says "you can also blog on lemmy" (https://join-lemmy.org/docs/users/06-other-features.html?highlight=blog#lemmy-as-a-blog) I have one question though:

Can I have MathJax or KaTeX to do formulas?

#lemmy @asklemmy #mathjax #katex #fedihelp

top 9 comments
sorted by: hot top controversial new old
[–] neidu3@sh.itjust.works 11 points 1 day ago

Am I too stupid to understand the question, or is it just poorly worded?

[–] karasu_sue@pf.korako.me 1 points 21 hours ago* (last edited 20 hours ago)

As already mentioned, it’s not supported by default.
You can enable it by adding a plugin like markdown-it-mathjax3, so you’d either need to modify your own instance or find one that already supports it.

I’ve added a few such features to my own server, since I’m using it partly for blogging.

https://lm.korako.me/post/8470/ https://github.com/karasugawasu/lemmy-ui/commit/0482fda3cb9d0deae80d5c52a4736fad6ccb12bf

[–] ragingHungryPanda@lemmy.zip 2 points 1 day ago

This guy made a FE for a blog using lemmy as the BE https://martijn.sh/

[–] Ludrol@szmer.info 2 points 1 day ago (1 children)

I am not aware of any such feature on Lemmy Look into https://dokie.li/ or WordPress with ActivityPub plugin and LaTeX plugin

[–] rikudou@lemmings.world 1 points 1 day ago

That won't really help with others seeing the content correctly, though.

[–] chrastecky@phpc.social 1 points 1 day ago (1 children)

@HaraldKi @asklemmy Well, if you intend to turn it into a blog in the sense that you create your custom website to display the data, you can add support to your frontend. Otherwise you'll have to create a PR or build a custom frontend.

[–] HaraldKi@nrw.social -1 points 1 day ago (1 children)
[–] chrastecky@phpc.social -1 points 1 day ago (1 children)

@HaraldKi @asklemmy

I was going off of the last sentence:

> For advanced usage, it is even possible to use the API and create a different frontend which looks more blog-like.

Outside of that I'm not sure what you can do outside doing a PR. Or writing a tool that will transform it into an image, I guess.

[–] HaraldKi@nrw.social -1 points 1 day ago

@chrastecky @asklemmy OK, I was hoping for something like flip a switch as it is already available to add to the markdown formatting. 🙂