enable LaTeX by default

This commit is contained in:
array-in-a-matrix 2023-04-08 00:27:38 -04:00
parent 4ac8d84a08
commit 2ffc26b0dc

View file

@ -37,7 +37,7 @@ const mathOptions = {
* @param {boolean} [maths=false] - render maths (default: false)
* @returns React component
*/
export function twemojify(text, opts, linkify = false, sanitize = true, maths = false) {
export function twemojify(text, opts, linkify = false, sanitize = true, maths = true) {
if (typeof text !== 'string') return text;
let content = text;
const options = opts ?? { base: TWEMOJI_BASE_URL };