A minimal email TUI where you read with Markdown and write in Neovim. neomd.ssp.sh/docs
email markdown neovim tui
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix opening links `[[]](domain)` also work

sspaeti 75e9d311 4ec0cf08

+2 -1
+2 -1
internal/ui/reader.go
··· 17 17 } 18 18 19 19 // mdLinkRe matches [text](url) in markdown. 20 - var mdLinkRe = regexp.MustCompile(`\[([^\]]+)\]\((https?://[^)]+)\)`) 20 + // Uses non-greedy .+? to allow brackets inside link text (e.g. [[text]](url)) 21 + var mdLinkRe = regexp.MustCompile(`\[(.+?)\]\((https?://[^)]+)\)`) 21 22 22 23 // extractLinks pulls all [text](url) links from markdown, deduplicating by URL. 23 24 func extractLinks(markdown string) []emailLink {