mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 11:42: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
|
||||
mathParser.functions.signed = function (a) {
|
||||
if(a >= 0) {
|
||||
return `\\+${a}`;
|
||||
} else {
|
||||
return `\\${a}`;
|
||||
}
|
||||
if(a >= 0) return `\\+${a}`;
|
||||
return `\\${a}`;
|
||||
};
|
||||
|
||||
//Processes the markdown within an HTML block if it's just a class-wrapper
|
||||
|
||||
Reference in New Issue
Block a user