@html tag
Parameters of the @html tag are passed verbatim to the HTML output format.
An example:
var
{ See the YouTube for demonstration of this technique.
@html(<iframe width="560" height="315" src="https://www.youtube.com/embed/..." frameborder="0" allowfullscreen></iframe>)
}
MyVariable: Integer;
Notes:
-
This tag does not recursively expand its parameter (see TagsParameters), so @-tags are not expanded inside the parameters of this tag, paragraphs are not inserted, and you can simply write the @ char to get it in the output (no need to double it, like @@). Special html characters (like < or >) are not escaped for HTML output. You have to write < to get the < character in HTML output.
To rephrase it: The text inside the parameters of @html is copied absolutely verbatim to the output.
-
When pasdoc generates documentation in a format, that can not use HTML markup, the @html() tag is ignored.
-
See also the @latex tag