rstudio/learnr

Favicons

开放

#245 创建于 2019年6月26日

 (1 条评论) (0 个反应) (0 位负责人)R (240 个派生)github user discovery
help wantedpriority: lowtype: bug

仓库指标

星标
 (734 个星标)
PR 合并指标
 (30 天内没有已合并 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
---

贡献者指南