- Namespace
- Statiq
.Common - Containing Type
- Bootstrapper
Shortcode Extensions
Syntax
public static TBootstrapper AddShortcode<TBootstrapper>(this TBootstrapper bootstrapper, string name, Func<KeyValuePair<string, string>[], string, IDocument, IExecutionContext, IEnumerable<ShortcodeResult>> shortcode)
where TBootstrapper : IBootstrapper
Type Parameters
Name | Description |
---|---|
TBootstrapper |
Parameters
Name | Type | Description |
---|---|---|
bootstrapper | TBootstrapper | |
name | string | |
shortcode | Func |
Return Value
Type | Description |
---|---|
TBootstrapper |