HtmlTag

Michalis Kamburelis edited this page Jan 7, 2017 · 8 revisions

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

PasDoc, documentation generator for Pascal:
Features:
Supported Tags:
Command Line:
Development:
Developers pages:
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.