add ability to conditionally wrap toast message in Mfm tag
This commit is contained in:
@@ -211,9 +211,10 @@ export function pageWindow(path: string) {
|
||||
}, {}, 'closed');
|
||||
}
|
||||
|
||||
export function toast(message: string) {
|
||||
export function toast(message: string, renderMfm = false) {
|
||||
popup(MkToast, {
|
||||
message,
|
||||
renderMfm,
|
||||
}, {}, 'closed');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user