Summary
Adds a shortcode and uses a
Wyam.Common.Configuration.ContextConfig to determine
the shortcode result.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Shortcodes - Containing Type
- IShortcodeCollection
Syntax
void Add(string name, ContextConfig contextConfig)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The name of the shortcode. |
| contextConfig | ContextConfig | A delegate that should return a string. |
Return Value
| Type | Description |
|---|---|
| void |
