r/Substack • • 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?

5 Upvotes

29 comments sorted by

View all comments

Show parent comment

1

u/galacticbears Jun 28 '23

Hi, love the addition of latex to Substack! It’s made writing math expressions so much easier where before I’d be uploading images.

Question, will a new line command like \newline or similar be implemented any time soon? It’s not a big deal as I can just add another block for multiple lines of equations, but curious if there’s a reason why it isn’t available like if it’ll break the block or be difficult to implement.

Thanks!

1

u/njchessboy Jun 28 '23

Lemme take a look into this. I don't work on too much TeX stuff but I can try to get it into the backlog for next time I do.

2

u/galacticbears Jun 30 '23

Thank you! It’s not pressing but there’s another issue I realized is happening on both mobile and the desktop site—

If you tap or click on the page (even if not clicking on the actual latex block) the block expands and shows the latex code.

You can see on my page that has latex in the middle, clicking it will reveal the code with brackets and all, if thats something you or team could look into—

https://n8thanomg.substack.com/p/boo-nothing-is-real

Thanks again!

1

u/njchessboy Jun 30 '23

Will do, thanks for the report!

1

u/greenvegetablething Aug 20 '23

Hey! I just noticed this issue in some math-heavy posts that I'm writing. Curious if you have a sense of when it might be fixed. (If it'll take a long I might want to resort to using images of latex or something.)