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