markdownr-markdown

how to show underscores symbol in markdown?


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


Solution

  • You just escape it with a backslash: my\_stock\_ticker is what you type to get my_stock_ticker

    The syntax seems to work for almost all markdown parsers. However, php markdown parsers use the numeric character reference _ instead of the actual character in its output.