Summary
Embeds a Giphy gif.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Shortcodes .Html - Interfaces
- Base Types
-
- Object
- Embed
graph BT
Type-->Base0["Embed"]
click Base0 "/api/Wyam.Core.Shortcodes.Html/Embed"
Base0-->Base1["Object"]
Type-.->Interface0["IShortcode"]
click Interface0 "/api/Wyam.Common.Shortcodes/IShortcode"
Type["Giphy"]
class Type type-node
Syntax
public class Giphy : Embed, IShortcode
Examples
<?# Giphy excited-birthday-yeah-yoJC2GnSClbPOkV0eA /?>
Remarks
You only need the ID of the gif which can be obtained from it's URL:
https://giphy.com/gifs/excited-birthday-yeah-yoJC2GnSClbPOkV0eA
Methods
Name | Value | Summary |
---|---|---|
Execute |
IShortcodeResult |
Executes the shortcode and returns an
Wyam.Common.Shortcodes.IShortcodeResult .
|
Execute |
IShortcodeResult |
Inherited from Embed
|
Execute |
IShortcodeResult |
Inherited from Embed
|