Default is 'Common (Scientific). Possibly including n =
if records
is supplied. Formatted for either ggplot (default
what_for =plot
) or markdown.
taxa_label(common = NULL, taxa = NULL, records = NULL, what_for = "plot")
cat(taxa_label("Black-chinned Honeyeater", "Melithreptus gularis"))
#> "Black-chinned Honeyeater" ~ italic("Melithreptus gularis")
cat(taxa_label(taxa = "Melithreptus gularis"))
#> ~italic("Melithreptus gularis")
cat(taxa_label("Black-chinned Honeyeater", records = 3))
#> "Black-chinned Honeyeater" * ", n = 3"
cat(taxa_label("Black-chinned Honeyeater", "Melithreptus gularis", what_for = "md"))
#> Black-chinned Honeyeater (_Melithreptus gularis_)
cat(taxa_label("Black-chinned Honeyeater", "Melithreptus gularis", what_for = "md", records = 3))
#> Black-chinned Honeyeater (_Melithreptus gularis_), n = 3