Embed iframe¶
Processor name: iframe
You can embed a link within an iframe
using the following text tag:
{iframe link="http://www.google.com"}
Required Tag Parameters¶
link
- The URL to embed within theiframe
element.
The default HTML for iframe is:
<iframe src="{{ link }}">
<p>Your browser does not support iframes.</p>
</iframe>
Example
Using the following tag:
{iframe link="http://www.google.com"}
The resulting HTML would be:
<iframe src="http://www.google.com">
<p>Your browser does not support iframes.</p>
</iframe>
Overriding HTML for Emedding iframes¶
When overriding the HTML for iframes, the following Jinja2 placeholders are available:
{{ link }}
- The URL to embed within theiframe
element.
Example
For example, providing the following HTML:
<iframe src="{{ link }}" class="embed-iframe" width="400" height="300" frameborder="0">
</iframe>
with the following tag:
{iframe link="https://github.com/"}
would result in:
<iframe class="embed-iframe" frameborder="0" height="300" src="https://github.com/" width="400">
</iframe>