markdown-it-prezi
v0.2.2
Published
Markdown-it plugin to embed a prezi
Downloads
3
Readme
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')); // <-- this use(package_name) is required
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
- Prezi