How to indent a few lines in Markdown markup?

后端 未结 22 734
予麋鹿
予麋鹿 2020-12-12 08:42

I want to write a few lines of text. They should be formatted normally except each line should start at the 6th column. I.e. I don\'t want the code block formatting rule to

22条回答
  •  庸人自扰
    2020-12-12 09:26

    To answer MengLu and @lifebalance's questions in response to SColvin's answer (which I much prefer to the accepted answer for the control it provides), it seems as though you could just target a parent element of the lists when setting the display to none, adding a surrounding element if necessary. So if we suppose we're doing this for a table of contents, we can extend SColvin's answer:

    HTML

    
    

    CSS

    .table-of-contents ul {
      list-style-type: none;
    }
    

提交回复
热议问题