downlit

library("magick")
#> Linking to ImageMagick 6.9.7.4
#> Enabled features: fontconfig, freetype, fftw, lcms, pango, x11
#> Disabled features: cairo, ghostscript, rsvg, webp
channel_types()
#>  [1] "Undefined"  "A"          "All"        "Alpha"      "B"         
#>  [6] "Black"      "Blue"       "C"          "Cyan"       "Default"   
#> [11] "G"          "Gray"       "Green"      "H"          "Hue"       
#> [16] "Index"      "K"          "L"          "Lightness"  "Luminance" 
#> [21] "Luminosity" "Magenta"    "Matte"      "M"          "O"         
#> [26] "Opacity"    "Red"        "R"          "Saturation" "S"         
#> [31] "Sync"       "Y"          "Yellow"     "0"          "1"         
#> [36] "2"          "3"          "4"          "5"
library("magick")
channel_types()

To create a reveal-hugo presentation from the index.md file of a leaf page bundle, you need to specify the layout manually.

layout = "bundle"

Why? By default, reveal-hugo doesn’t create pages for single template types (foo.md), only for list template types (_index.md).

This technique can also be used to output an HTML file for any section of a presentation, should you need to.