mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-11 04:42:42 +00:00
CodeMirror Dropdown working
This commit is contained in:
@@ -10,8 +10,6 @@ const MathParser = require('expr-eval').Parser;
|
||||
const renderer = new Marked.Renderer();
|
||||
const tokenizer = new Marked.Tokenizer();
|
||||
|
||||
console.log(dicefont)
|
||||
|
||||
//Limit math features to simple items
|
||||
const mathParser = new MathParser({
|
||||
operators : {
|
||||
@@ -667,8 +665,8 @@ function MarkedVariables() {
|
||||
const MarkedEmojiOptions = {
|
||||
emojis: {
|
||||
...dicefont,
|
||||
"heart": "fa-solid fa-heart",
|
||||
"star": "fa-solid fa-star"
|
||||
"fas-heart": "fa-solid fa-heart",
|
||||
"fas-star": "fa-solid fa-star"
|
||||
},
|
||||
renderer: (token) => `<i class="${token.emoji}"></i>`
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user