lol seems like it's a bit broken
\[
\mathrm{Let\ }G=\left\lt V,E\right\gt \ \mathrm{be\ a\ digraph}, c\in\mathbb{R}^{|V|}_{+}, r\in V\\ \begin{align*}\mathrm{min}\ &c^\top x\\ \mathrm{subject\ to}\\&\sum_{uv\ \in\ E}x_{uv}=1\ \forall\ v\in V\setminus\left\{r\right\}\\&x\geq0\ \mathrm{integer}\end{align*}
\]

@ercadio it works but the markdown support we added makes the formatting weird (you are technically applying it wrong through).. it will be fixed very soon.

@freemo Thanks! It's already a really cool feature. I recommend looking at KaTeX since it's apparently faster than mathjax

@ercadio isnt katex for rendering when generating documents, and not or dynamically rendering across html?

@freemo afaik it supports both server-side and client-side rendering
```javascript
katex.render("c = \\pm\\sqrt{a^2 + b^2}", element, {
throwOnError: false
});
```

@ercadio actually now that I think about it I think mathjax actually supports katex as an engine... i may even be using it already I would need to check.

Ideally server side the latex would be converted to an image and embeded into a post. Sadly mastodon clients however cant render images inline with text as far as I know... I havent tried to see if our markdown rendering can support this (since markdown does).. i kinda suspect it cant but even if it could other servers without markdown support wouldnt be able to see it, though there are a decent number of servers that support markdown (though very few of those are mastodon servers)

Follow

@freemo I'll probably just generate pictures if needed then. I know tusky doesn't support either anyway

@ercadio sadly no tusky wouldnt support it. But it will be fixed in the next few weeks regardless

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.