12552

Indent without adding a bullet point or number in RMarkdown

I want to make an indented list, but I don't want it to have bullet points or numbers. I am using Rmarkdown in RStudio, and knitting to html.

#### 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??

Answer1:

If you want to change how a list looks and you're outputting to HTML, use css:

--- 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

This won't work for other output formats.

Recommend

  • angularJS window resize issue
  • What's the key differences in existent approaches to mirror Kafka topics
  • Removing object from ArrayList in Java
  • Flash Button (Creating a menu page with flash buttons to open SWF Files)
  • bootstrap css, how to make full width div inside container
  • $lookup from Multiple Collections, and nested output
  • How to get rid of enclosing double-quotes in the expanded `forfiles` variables?
  • Python: Facebook Graph API - pagination request using facebook-sdk
  • in node.js, how to pass variables to :stylus filter from jade?
  • Golang Build in docker not finding local import
  • css Star-rating html
  • CDI: Injecting single instance works, but injecting Instance does not. Why?
  • Floating-point number in Excel
  • Version in docker-compose is unsupported
  • JFreechart X and Y axis scaling
  • PHP Copy function not working
  • How to remove the dot in to_char if the number is an integer
  • Typecasting `this` of a base class template to its derived class
  • jQuery timepicker 'Object does not support this property or method'
  • Why dill dumps external classes by reference, no matter what?
  • How to initialize context? [closed]
  • java.lang.IndexOutOfBoundsException occuring on ArrayList
  • Binary trees in scheme
  • XOR with Neural Networks (Matlab)
  • Find 5 consecutive numbers in numpy array by row, ignore duplicates
  • Getting different value with placeholder over CPU/GPU
  • jQuery Orbit - How to make a Random Slideshow?
  • Reading a file into a multidimensional array
  • why xml file does not aligned properly after append the string in beginning and end of the file usin
  • htaccess add www if not subdomain, if subdomain remove www
  • preg_replace Double Spaces to tab (\\t) at the beginning of a line
  • JSON response opens as a file, but I can't access it with JavaScript
  • Different response to non-authenticated users and AJAX calls
  • C# - Serializing and deserializing static member
  • Accessing IRQ description array within a module and displaying action names
  • How would I use PHP exceptions to define a redirect?
  • Incrementing object id automatically JS constructor (static method and variable)
  • How to extract text from Word files using C#?
  • Do create extension work in single-user mode in postgres?
  • need help with bizarre java.net.HttpURLConnection behavior