作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我想在导航栏标题字段部分添加自定义 Logo 。我尝试添加一个 html 脚本并且它起作用了,但是 Logo 图像并没有很好地适合导航栏 - Logo 被边距推开,菜单文本与 Logo 重叠,等等。
name: "my-website"
output_dir: .
navbar:
title: "I want to add custom logo here"
left:
- text: "Home"
最佳答案
好吧,我自己弄了一个网站。这对我有用:
name: "my-website"
navbar:
title: "<img id=\"logo\" style=\"width: 30px;\" src=\"dog.gif\" />"
left:
- text: "Home"
href: index.html
- text: "About"
href: about.html
关于html - 如何在 rmarkdown 的导航栏标题字段中添加自定义 Logo ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44204702/
我是一名优秀的程序员,十分优秀!