Link Class

Summary

Renders a link from the given path, using default settings or specifying overrides as appropriate.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Shortcodes.Html
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IShortcode"] click Interface0 "/api/Wyam.Common.Shortcodes/IShortcode" Type["Link"] class Type type-node

Syntax

public class Link : IShortcode

Examples

<?# Link "/foo/bar" /?>

Methods

Name Value Summary
Execute(KeyValuePair<string, string>[], string, IDocument, IExecutionContext) IShortcodeResult
Executes the shortcode and returns an Wyam.Common.Shortcodes.IShortcodeResult.
GitHub