shortWikiLinks config option

This commit is contained in:
Zef Hemel
2026-01-22 08:42:30 +01:00
parent a89ab96438
commit fb10fd65b8
7 changed files with 20 additions and 3 deletions
+1
View File
@@ -190,6 +190,7 @@ export class LuaWidget extends WidgetType {
);
html = parseHtmlString(renderMarkdownToHtml(mdTree, {
shortWikiLinks: this.client.config.get("shortWikiLinks", false),
translateUrls: (url) => {
if (isLocalURL(url)) {
url = resolveMarkdownLink(