2017-11-03 5 views
2

들여 쓰기 목록을 만들고 싶지만 글 머리 기호 나 숫자를 원하지 않습니다. 나는 RStudio에서 Rmarkdown을 사용하고 html로 편직하고있다.RMarkdown에서 글 머리 기호 또는 숫자를 추가하지 않고 들여 쓰기

--- 
title: "ListTest" 
output: html_document 
--- 

<style> 
.nobullet li { 
    list-style-type: none; 
} 
</style> 

<div class="nobullet"> 
* This list 
* Doesn't have bullets 
</div> 

* This list 
* Is normal 

이 다른 출력 형식에 대해 작동하지 않습니다 :

#### bla bla bla 

* Example indented line with bullet point 
    * Another indent with another bullet point 
* Yea this is good except for the stupid bullets! 

1. Example indented line with numbers 
    * sure and an indent with a bullet too 
2. But there's these stupid numbers now! 

    two spaces doesn't indent at all 
    or nest indent with 4 
    yea still no indent with 2. 

    four spaces ALSO doesn't indent 
     just makes some stupid code 
    why do you hate indents rmd?? 
+0

"왜 indents rmd를 싫어합니까?" 왜냐하면 Markdown은 프레젠테이션이 아닌 _semantics_에 관한 것입니다. 들여 쓰기가 뭐야? 원하는 의미에 맞게 적절하게 표시 한 다음 Marius에서 보여주는 것처럼 CSS를 사용하여 스타일을 지정하십시오. – Chris

답변

5

당신이 목록을보고 당신이 HTML로 출력하는 방법을 변경하려면, CSS를 사용합니다.

관련 문제