link

Macro link 

Source
macro_rules! link {
    ($e:expr, $f:path) => { ... };
    ($e:expr) => { ... };
}
Expand description

Create a clickable link Span.

  • $e: The text to display.
  • $f: Optional path to a page or function for the link action.

ยงExamples

let link1 = link!("Click me", MyPage);
let link2 = link!("Just a link");