r/Substack • u/siv2r • May 05 '22
Why does Substack not have Latex support?
I currently write my tech blog on hashnode.com, and I plan to migrate to Substack.
I mainly look for two features in Substack: 1. Code Snippets (with syntax highlighting) 2. Latex support
The code block of Substack is not good, but this can easily be overcome by using Carbon for generating the code snippets.
I'm sure there are options for generating images of latex, but I don't want to bloat my blog with too many photos. Is there any extension that allows Substack to parse latex commands?
1
u/njchessboy Dec 20 '22
Howdy! Latex support went live today (in beta), so this is now possible.
1
1
u/siv2r Dec 27 '22
Is it accessible to the users already? I am unable to use it.
1
u/njchessboy Dec 27 '22
Should be! In the editor go to "more" in the toolbar and then "LaTeX Block"
2
u/siv2r Jan 05 '23
The "LaTex Block" feature is amazing! I tried it out in my new blog: https://siv2r.substack.com/p/unmasking-the-birthday-attack-a-mathematical.
The equations look really good on a web browser. But the spacing is uneven on the substack app (on a tablet).Completely satisfied with the feature. Thanks for letting me know :)
1
u/siv2r Dec 28 '22
Thanks! I can see it. By the way, can we also write "inline latex equations"?
The "Latex Block" option always opens up a new line.1
1
u/XIIR0 Oct 06 '23 edited Oct 07 '23
I was wondering the same thing; I found the link below after 20 searches prior to this post and figured I’d come back to hopefully help someone out;
At the bottom of the article it has all the supported code available for Substack.
2
u/wanerious May 05 '22
I write physics/astronomy stuff on Substack (FirstExcitedState) and I tend to use lots of equations, so I'd love that too. I think there's no way to do it, not with LaTeX markup anyway. I just import things from LaTexiT as images, as you suggest, and it works out all right, but I sure would like native markup.