Lists mapping mime types (mime2repr) or format names (format2repr) to repr functions

mime2repr

format2repr

Format

Lists mapping mime/name to function

An object of class list of length 18.

Examples

names(mime2repr)
#>  [1] "text/plain"                       "text/html"                       
#>  [3] "text/markdown"                    "text/latex"                      
#>  [5] "application/javascript"           "application/json"                
#>  [7] "application/geo+json"             "application/vdom.v1+json"        
#>  [9] "application/vnd.plotly.v1+json"   "application/vnd.vegalite.v2+json"
#> [11] "application/vnd.vegalite.v3+json" "application/vnd.vegalite.v4+json"
#> [13] "application/vnd.vega.v4+json"     "application/vnd.vega.v5+json"    
#> [15] "application/pdf"                  "image/png"                       
#> [17] "image/jpeg"                       "image/svg+xml"                   
names(format2repr)
#>  [1] "text"       "html"       "markdown"   "latex"      "javascript"
#>  [6] "json"       "geojson"    "vdom1"      "plotly1"    "vegalite2" 
#> [11] "vegalite3"  "vegalite4"  "vega4"      "vega5"      "pdf"       
#> [16] "png"        "jpg"        "svg"