Renders a Tweet.
- Namespace
- Statiq
.Web .Shortcodes - Interfaces
- Base Types
-
- object
- Shortcode
- EmbedShortcode
graph BT
Type-->Base0["EmbedShortcode"]
click Base0 "/api/Statiq.Web.Shortcodes/EmbedShortcode"
Base0-->Base1["Shortcode"]
click Base1 "/api/Statiq.Common/Shortcode"
Base1-->Base2["object"]
Type-.->Interface0["IShortcode"]
click Interface0 "/api/Statiq.Common/IShortcode"
Type["TwitterShortcode"]
class Type type-node
Syntax
public class TwitterShortcode : EmbedShortcode, IShortcode
Examples
<?# Twitter 123456789 /?>
Fields
Name | Field Type | Constant Value | Summary |
---|---|---|---|
Endpoint | string | Endpoint |
Inherited from EmbedShortcode
static
|
Format | string | Format |
Inherited from EmbedShortcode
static
|
MaxHeight | string | MaxHeight |
Inherited from EmbedShortcode
static
|
MaxWidth | string | MaxWidth |
Inherited from EmbedShortcode
static
|
Url | string | Url |
Inherited from EmbedShortcode
static
|
Methods
Name | Return Value | Summary |
---|---|---|
ExecuteAsync |
Task |
Shortcodes for specific oEmbed services should override this method and call one of the other execute helper methods.
|
ExecuteAsync |
Task |
Inherited from EmbedShortcode
|
GetEmbedResultAsync |
Task |
Inherited from EmbedShortcode
|
GetEmbedResultAsync |
Task |
Inherited from EmbedShortcode
|