rstudio/learnr

Favicons

Open

#245 创建于 2019年6月26日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)R (240 fork)github user discovery
help wantedpriority: lowtype: bug

仓库指标

Star
 (734 star)
PR 合并指标
 (PR 指标待抓取)

描述

Would it be possible to include a custom favicon for learnr through the www/favicon.ico directory, such as for a shiny application?

Of note: The standard "header includes" pattern works for regular Rmd and runtime: shiny but not for runtime: shiny_prerendered (documents published to an RStudio Connect server)

  • Successful:
---
title: "Shiny Runtime Favicon Test"
output: 
  html_document:
    includes:
      in_header: "favicon.html"
runtime: shiny
---
  • Unsuccessful:
---
title: "Learnr Favicon Test"
output: 
  learnr::tutorial:
    includes:
      in_header: "favicon.html"
runtime: shiny_prerendered
---

贡献者指南