how to show underscores symbol in markdown?

前端 未结 3 992
误落风尘
误落风尘 2021-01-31 12:53

in markdown, my_stock_index is mystockindex. But I want it to show my_stock_index. How can do that?

3条回答
  •  攒了一身酷
    2021-01-31 13:31

    There is also the option to use backticks. This is actually used to refer to mark the text as inline code, but where else would you use underscores right? Besides it is much easier than managing the backslash stuff :)

    `my_stock_index`
    

提交回复
热议问题