首页 > 解决方案 > 为 R markdown ioslides 添加多个 logo;这是与默认 CSS 行一起使用的单个徽标代码

问题描述

这是下面的降价文件的标题:


title: "trial"
output:
  ioslides_presentation:
    widescreen: true
    logo: g_logo.png 
runtime: shiny
author: "Dr. S"
institute: “university of xyzzy"
date: "`r format(Sys.time(), '%d %b, %Y')`"
css: default.css

— 下面是在默认的 CSS 文件中添加的,并保存在与 markdown 文件相同的目录中

.gdbar img {
      width: 400px !important;
      height: 200px !important;
      margin: 20px 20px;
    }
.gdbar {
      width: 450px !important;
      height: 2200px !important;
      width: 450px !important;
      height: 220px !important;
    }
slides > slide:not(.nobackground):before {
      width: 150px;
      height: 75px;
      background-size: 150px 75px;
    }

标签: cssrr-markdownpresentationioslides

解决方案


推荐阅读