Description Usage Arguments Details Value See Also Examples
txt_style
adds appropriate html style wrappers to a string. Any number of options can be specified, as long as they match html CSS tags names.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
x |
The string to be wrapped |
type |
The style of display, defaults to "html" (currently nothing else is supported, sorry) |
bold |
Should the text be bolded? |
underline |
Should the text be underlined? |
italics |
Should the text be italicized? |
... |
various display options: any html CSS |
txt_*
are shortcuts for specific individual style options
Warning: These are simple direct wrappers for strings only. If you are working with demo_code
objects, you should instead use the highlight
functions.
A string containing x
with html wrappers.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.