We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71892f2 commit cd2b98eCopy full SHA for cd2b98e
1 file changed
src/markdown-render.ts
@@ -1,7 +1,7 @@
1
// Inline markdown renderer for metadata values (links, embeds, etc.)
2
import {App, Component, MarkdownRenderer} from "obsidian";
3
4
-const markdownHintRegex = /(\[\[|!\[\[|`|\*|_|~|\[[^\]]+\]\([^)]+\)|#|\n)/;
+const markdownHintRegex = /(\[\[|!\[\[|`|\*|_|~|\[[^\]]+\]\([^)]+\)|#|https?:\/\/|\n)/;
5
6
// Render a value as inline markdown
7
export function renderInlineMarkdown(
0 commit comments