PrintCharacterHeading | R Documentation |
Prints a character heading using markdown syntax at an appropriate level in the hierarchy.
PrintCharacterHeading(char, charNo, prevElements = "*NONE*",
thisElements = strsplit(char, ": ")[[1]], nextElements = "*NONE*",
forceDisplay = character(0), Format = I)
char |
Character string specifying the definition of the character |
charNo |
Character string identifying the character's number |
prevElements , thisElements , nextElements |
Character description, decomposed into its constituent hierarchichal elements |
forceDisplay |
Character vector specifying character descriptions to always print as a header when an exact match is encountered. |
Format |
Function that is passed a character string, and should return the string with appropriate formatting (e.g. italicization of genus names). |
A heading for the character in markdown format
Martin R. Smith
{
PrintCharacterHeading("Tail: Colour", 1, "NONE",
c("Tail", "Colour"), c("Tail", "Colour", "Patterning"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.