Please add LaTeX support

username: Mahmoud_Abdelkhalek
cooked: <p>In this post:</p><aside class="quote quote-modified" data-post="1" data-topic="111742">
  <div class="title">
    <div class="quote-controls"></div>
    <img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/m/8491ac/48.png" class="avatar">
    <a href="https://discuss.pytorch.org/t/nans-in-gradients-due-to-multi-objective-loss-function/111742">NaN's in gradients due to multi-objective loss function</a> 
  </div>
  <blockquote>
    <a name="context-1" class="anchor" href="#context-1"></a>Context
I’m currently trying to implement the following architecture: 
[Screenshot 2021-02-12 210143] 
Where x is an audio signal, h_\theta is a linear filter, f_\phi is a network that predicts one of two classes, either y_hat = 0 or y_hat = 1, and g_\psi is an autoencoder that attempts to reconstruct x as x_\hat. 
Here is how I pass a batch of x’s through the filter h_\theta: 
x = filt(x)

Where filt is a nn.Module object with trainable parameters: 
filt = Filter(bias = True, kernel_size = 201,…
  </blockquote>
</aside>
<p>
I tried to use LaTeX with no luck. This would have saved me a lot of time. Could you please add it to the site? It seems that there is a plugin already available:</p>
<aside class="onebox discoursetopic" data-onebox-src="https://meta.discourse.org/t/discourse-math/65770">
  <header class="source">
      <img src="https://d11a6trkgmumsb.cloudfront.net/optimized/3X/b/3/b33be9538df3547fcf9d1a51a4637d77392ac6f9_2_32x32.png" class="site-icon" width="32" height="32">

      <a href="https://meta.discourse.org/t/discourse-math/65770" target="_blank" rel="noopener nofollow ugc" title="09:32AM - 24 April 2023">Discourse Meta – 24 Apr 23</a>
  </header>

  <article class="onebox-body">
    <div class="aspect-image" style="--aspect-ratio:690/41;"><img src="https://d11a6trkgmumsb.cloudfront.net/optimized/4X/0/7/8/0783e5858f4219b6624393a8e9ffad5ecdfec133_2_1024x62.png" class="thumbnail" width="690" height="41"></div>

<div class="title-wrapper">
  <h3><a href="https://meta.discourse.org/t/discourse-math/65770" target="_blank" rel="noopener nofollow ugc">Discourse Math</a></h3>
  <div class="topic-category">
      <span class="badge-wrapper bullet">
        <span class="badge-category-bg" style="background-color: #F7941D;"></span>
        <span class="badge-category clear-badge">
          <span class="category-name">plugin</span>
        </span>
      </span>
    <div class="topic-header-extra">
      <div class="list-tags">
        <div class="discourse-tags">
          <svg class="fa d-icon d-icon-tag svg-icon svg-string"><use href="#tag"></use></svg>
            <span class="discourse-tag simple">official</span>
            <span class="discourse-tag simple">math</span>
        </div>
      </div>
    </div>
  </div>
</div>

  <p>:discourse2: Summary  Discourse Math uses MathJax (default) or KaTeX to render maths in your Discourse forum.   🛠 Repository Link https://github.com/discourse/discourse-math   📖 Install Guide How to install plugins in Discourse      Enabling Math...</p>

  <p>
    <span class="label1">Reading time: 25 mins 🕑</span>
      <span class="label2">Likes: 68 ❤</span>
  </p>

  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>


username: Royi
cooked: <p>Any chance to enable this?<br>
It will assist greatly when talking about technical math things.</p>