mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 22:52:39 +00:00
Update shared/naturalcrit/markdown.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
@@ -58,11 +58,8 @@ mathParser.functions.sign = function (a) {
|
|||||||
};
|
};
|
||||||
// Add signed function
|
// Add signed function
|
||||||
mathParser.functions.signed = function (a) {
|
mathParser.functions.signed = function (a) {
|
||||||
if(a >= 0) {
|
if(a >= 0) return `\\+${a}`;
|
||||||
return `\\+${a}`;
|
return `\\${a}`;
|
||||||
} else {
|
|
||||||
return `\\${a}`;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//Processes the markdown within an HTML block if it's just a class-wrapper
|
//Processes the markdown within an HTML block if it's just a class-wrapper
|
||||||
|
|||||||
Reference in New Issue
Block a user