|Version 3 (modified by anonymous, 6 years ago) (diff)|
Insert HTML Elements
Allows you to insert HTML elements with properties without having to use a preprocessor.
If you have any issues, create a new ticket.
Download the zipped source from here.
[[InsertElement(element, property, value, content)]]
- element Name of an HTML element like div or p
- property Name of the HTML property such as class or id
- value The value of the property
- content The quoted string for the content of the element
[[InsertElement(div, class, quote, "This is a very nice quote")]] [[InsertElement(p, id, unique, "This is a unique paragraph, commas in the last argument don't interfere")]] [[InsertElement(a, id, uniquea, "You can represent actual quotes by using "entities"")]] [[InsertElement(pre, id, uniqueb, 'Or you can change the type of "outer quote"')]]
<div class="quote">This is a very nice quote</div> <p id="unique">This is a unique paragraph, commas in the last argument don't interfere</p> <a id="uniquea>You can represent actual quotes by using "entities"</a> <pre id="uniqueb">Or you can change the type of "outer quote"</pre>