An extension for cebe/markdown to provide a shortcode to include codepen's
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Markdown.php
MarkdownTest.md
README.md
composer.json
index.php

README.md

Bogardo\markdown-codepen

An extension for cebe/markdown to provide a shortcode to embed codepens from http://codepen.io/ in your Markdown.

Syntax

codepen[vclLe][350]

codepen[vclLe][350][js]

codepen[vclLe][350][js][1234]

Parameters

  • Pen ID
  • Height (px)
  • Active tab optional
  • Theme ID optional

Screenshot

Screenshot