Include Content From a File — include
v1.11.0|Source:
R/tags.R
Description
Load HTML, text, or rendered Markdown from a file and turn into HTML.
Arguments
Details
These functions provide a convenient way to include an extensive amount of HTML, textual, Markdown, CSS, or JavaScript content, rather than using a large literal R string.
Note
includeText
escapes its contents, but does no other processing.
This means that hard breaks and multiple spaces will be rendered as they
usually are in HTML: as a single space character. If you are looking for
preformatted text, wrap the call with pre()
, or consider using
includeMarkdown
instead.
The includeMarkdown
function requires the markdown
package.