mdhtml: Generate an mdhtml object.

View source: R/classes.R

mdhtmlR Documentation

Generate an mdhtml object.

Description

Generates an mdhtml object which stores a HTML or XTML tag

Usage

mdhtml(x)

Arguments

x

a string to be stored as a HTML or XTML tag, see the details!

Details

Particularly useful for custom HTML element used multiple times in an Rmarkdown document. You may easily insert them (e.g. via copy and paste) by calling the 'insert()' or 'refer()' method. Technically, it requires a string starting with an '<tag>' or '<tag />' and ending with an '</tag>' or '<tag />'.


PiotrTymoszuk/figur documentation built on July 16, 2024, 1:15 a.m.