mirror of
https://github.com/array-in-a-matrix/xinny.git
synced 2024-05-21 13:47:27 -04:00
enable LaTeX by default
This commit is contained in:
parent
4ac8d84a08
commit
2ffc26b0dc
|
@ -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 };
|
||||
|
|
Loading…
Reference in a new issue