当我在Blogdown中服务网站时,子弹点将不会呈现。我的网站在Windows 10计算机上本地托管。当我添加html标签时,该列表实际上起作用。当我在另一个项目中打开空白的rmd文件时,项目符号会正确呈现。
我在blogdown .rmd帖子中的列表代码示例:
* text
* text
* text
以及使用html标签的工作版本:
<ul>
<li>text</li>
<li>text</li>
<li>text</li>
</ul>
>sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 bookdown_0.9 digest_0.6.18 later_0.8.0 mime_0.6 R6_2.4.0 jsonlite_1.6 magrittr_1.5
[9] evaluate_0.13 blogdown_0.11 stringi_1.3.1 rstudioapi_0.9.0 promises_1.0.1 rmarkdown_1.11 tools_3.5.2 servr_0.13
[17] stringr_1.4.0 httpuv_1.4.5.1 xfun_0.5 yaml_2.2.0 compiler_3.5.2 htmltools_0.3.6 knitr_1.22
这是我对堆栈溢出的第一个问题。我事先做了很多搜索,但是如果我错过了答案,请指出正确的方向!
我也遇到了一个问题,即无法使用“添加图像”加载项。我不知道它们是否相关,但是如果相关,可以发布其他代码段。
以下更好的示例:
---
title: "Methodology and link to BidVis"
author: "Braden"
date: '2019-03-14'
output:
html_document:
df_print: paged
categories: []
slug: methodology-and-link-to-bidvis
tags: []
bibliography: []
---
knitr::opts_chunk$set(echo = TRUE)
library(kableExtra)
options(kableExtra.auto_format = FALSE)
library(tidyverse)
library(data.table)
library(dplyr)
library(rio)
install_formats()
library(ggrepel)
library(janitor)
library(lubridate)
library(broom)
library(generics)
library(plotly)
library(DT)
In speaking with my classmates and from my own experience, I sought to use the data to answer the following questions:
* How can I predict closing cost for an upcoming class?
* What is the relationship between TCE scores and course closing cost?
* What are the most powerful indicators of a class having a high closing cost?
* Is the "bid point inflation" effect real?
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
答案 0 :(得分:4)
在列表之前添加一个空行:
In speaking with my classmates and from my own experience, I sought to use the data to answer the following questions:
* How can I predict closing cost for an upcoming class?
* What is the relationship between TCE scores and course closing cost?
* What are the most powerful indicators of a class having a high closing cost?
* Is the "bid point inflation" effect real?