Description Usage Arguments Examples
create Unicode representations of mahjong tiles and export to HTML
1 2 3 4 5 | mahjong_list()
mahjong_unicode(tile = mahjong_list())
mahjong_html(tile = mahjong_list(), size = 172)
|
tile |
a mahjong tile. Valid values can be found via |
size |
the font-size to use |
1 2 3 4 | mahjong_html("autumn")
mahjong_html("bamboo", size = 400)
mahjong_list() %>% lapply(mahjong_html, 100) %>% span() %>% browsable()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.