Commit 5964631d authored by RawKStar77's avatar RawKStar77

Change text on math markdown button to 'Insert LaTeX'

Previously, the text between the markup when the math button was pressed in the markdown editor read $$LaTeX or MathML$$. We don't support MathML, so I've changed it to $$Insert LaTeX$$.
parent 751ab736
......@@ -95,9 +95,9 @@ markdown = ['$filter', '$sanitize', '$sce', '$timeout', ($filter, $sanitize, $sc
input.value[index - 1] == '\n' or
(input.value[index - 1] == '$' and input.value[index - 2] == '$')
)
applyInlineMarkup('$$', 'LaTeX or MathML')
applyInlineMarkup('$$', 'Insert LaTeX')
else
applyInlineMarkup('\\(', 'LaTeX or MathML', '\\)')
applyInlineMarkup('\\(', 'Insert LaTeX', '\\)')
scope.insertLink = ->
text = userSelection()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment