Mirage.References (mirage v0.76.0)

Finds and replaces references to entities in a string.

A reference is an internal link like the following examples:

  • [[sustainablity]] -> A note named Sustainability
  • [[tag:video-games]] -> A tag named Video Games
  • [[list:blog]] -> A list named Blog
  • [[a-long-unfitting-title|A simple title]] -> A note named A long unfitting title

Link to this section Summary

Functions

Returns a list of references in the string

Finds and replaces references with the matching url

Link to this section Functions

Link to this function

get_references(string)

Returns a list of references in the string

Link to this function

replace_references(string)

Finds and replaces references with the matching url