Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMemoryLinks ¶
ParseMemoryLinks extracts referenced slugs from a memory body. It supports [slug] and markdown links. HTTP(S) links are ignored.
func RenderWikiLinks ¶
func RenderWikiLinks(body string, resolve func(label, normalizedSlug string) (href string, ok bool)) string
RenderWikiLinks converts [[label]] links using resolve. Returning ok=false keeps the original wiki link.
func RestoreMarkdownFileLinks ¶
RestoreMarkdownFileLinks converts relative markdown links to .md files back into [slug] links so repeated syncs remain stable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.