get HTML code from a pot
# S3 method for pot
as.html(object, ...)
the pot
object
further arguments passed to other methods
a character value
# NOT RUN {
#START_TAG_TEST
my_pot = pot("My tailor", textProperties(color="red") ) + " is " + pot("rich"
, textProperties(font.weight="bold") )
as.html( my_pot )
#STOP_TAG_TEST
# }
Run the code above in your browser using DataLab