CodePen

Embeds a CodePen pen.
You need the path of the pen (essentially everything after the domain in the URL):
https://codepen.io/edanny/pen/JXwgdK

Examples

<?# CodePen edanny/pen/JXwgdK /?>

Parameters

The following parameters can be used without names in the order below or with names (provided they are named) in any order. When using named parameters, the syntax should be `Name=Value` or `Name="Value"`.

  • The path of the pen.

GitHub