markdown-it-prezi
0.2.2 • Public • Published markdown-it-prezi
markdown-it plugin for embedding prezis
Usage
Enable plugin
var md = require('markdown-it')({
html: true,
linkify: true,
typography: true
}).use(require('markdown-it-prezi'));
Example
This only works in the inline style.
@[prezi](https://prezi.com/1kkxdtlp4241/valentines-day/)
is interpreted as
<p><div class="embed-responsive embed-responsive-16by9"><iframe id="iframe_container" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" width="550" height="400" src="https://prezi.com/embed/1kkxdtlp4241/?bgcolor=ffffff&lock_to_path=0&autoplay=0&autohide_ctrls=0&landing_data=bHVZZmNaNDBIWnNjdEVENDRhZDFNZGNIUE43MHdLNWpsdFJLb2ZHanI5dkJIRDUyYTNMclVnU3JkQ0tsWHZ4M0l3PT0&landing_sign=n17co217dmqNkcedF6feCjgLpeTnA2u5uL4TEPyWWZE"></iframe></div></p>
Currently supported services
Package Sidebar
Install
Weekly Downloads