First time here? Check out the FAQ!
0

word with `_` in doesn't appear correctly
 

hello_world should look like hello_world
but it apears as helloworld.

It seems it is interpreted as italic.
In latest github askbot.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
pcompassion's avatar
21
pcompassion
asked 11 years ago, updated 11 years ago

Comments

see more comments

1 Answer

1

That's a feature of the markdown converter - go to "markup in posts" settings and check "code friendly markdown" - then underscores inside words will not be forcing italic rendering.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago, updated 11 years ago
link

Comments

I think this option should be enabled by default, no need for two methods for bold and italic text.

Mustafa's avatar Mustafa (11 years ago)
see more comments