mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
Update shared/naturalcrit/markdown.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
@@ -53,11 +53,8 @@ mathParser.functions.abs = function (a) {
|
||||
// Add sign function
|
||||
mathParser.functions.sign = function (a) {
|
||||
if(a == 0) return '';
|
||||
if(a > 0) {
|
||||
return '\\+';
|
||||
} else {
|
||||
return '\\-';
|
||||
}
|
||||
if(a > 0) return '\\+';
|
||||
return '\\-';
|
||||
};
|
||||
// Add signed function
|
||||
mathParser.functions.signed = function (a) {
|
||||
|
||||
Reference in New Issue
Block a user