mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/errors: show errors in inline Markdown
This commit is contained in:
@ -95,6 +95,10 @@ function formatMarkdown(text) {
|
||||
return markdown.formatMarkdown(text);
|
||||
}
|
||||
|
||||
function formatInlineMarkdown(text) {
|
||||
return markdown.formatInlineMarkdown(text);
|
||||
}
|
||||
|
||||
function formatUrlParameters(dict) {
|
||||
let result = [];
|
||||
for (let key of Object.keys(dict)) {
|
||||
@ -230,6 +234,7 @@ module.exports = arrayToObject([
|
||||
formatRelativeTime,
|
||||
formatFileSize,
|
||||
formatMarkdown,
|
||||
formatInlineMarkdown,
|
||||
unindent,
|
||||
enableExitConfirmation,
|
||||
disableExitConfirmation,
|
||||
|
Reference in New Issue
Block a user