CodePen Class

Summary

Embeds a CodePen pen.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Shortcodes.Html
Interfaces
Base Types
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

GitHub