Skip to content

BinaryQuantumSoul/discord-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX Renderer

This is a BetterDiscord plugin using MathJax to natively render LaTeX math equations inside Discord.

Usage

You need to use simple or double dollars inside a Discord inline code (this is to prevent markdown interpretation of special characters).

Examples (just copy-paste)

  • Inline: I want to say `$\forall x\in\mathbb{N}, x\ge 0$` !
  • Block: Voilà: `$$\int_0^\infty e^{-x^2}dx=\frac{\sqrt{\pi}}{2}$$`

Installation

You can manually download the plugin here

Simply put it in BetterDiscord's plugin folder

Building local version

Run npm install and npm run build

Then put dist/LaTeX.plugin.js in BetterDiscord's plugin folder.

Releases

No releases published

Packages

No packages published