Summary
Embeds a CodePen pen.
- 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["CodePen"]
class Type type-node
Syntax
public class CodePen : Embed, IShortcode
Examples
<?# CodePen edanny/pen/JXwgdK /?>
Remarks
You need the path of the pen (essentially everything after the domain in the URL):
https://codepen.io/edanny/pen/JXwgdK
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
|