Skip to content

Commit cd2b98e

Browse files
committed
Ensure URLs are rendered correctly
1 parent 71892f2 commit cd2b98e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/markdown-render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Inline markdown renderer for metadata values (links, embeds, etc.)
22
import {App, Component, MarkdownRenderer} from "obsidian";
33

4-
const markdownHintRegex = /(\[\[|!\[\[|`|\*|_|~|\[[^\]]+\]\([^)]+\)|#|\n)/;
4+
const markdownHintRegex = /(\[\[|!\[\[|`|\*|_|~|\[[^\]]+\]\([^)]+\)|#|https?:\/\/|\n)/;
55

66
// Render a value as inline markdown
77
export function renderInlineMarkdown(

0 commit comments

Comments
 (0)