I noticed that code added to question dissapears, look at my post. I had to wrap everything in code blocks AND quote blocks to display them.

Scroll down to 3. and you will notice that the PHP Code is not showing, but if you click edit to edit the post, then you will see it.

  • 2
    really weired issue i just quoted that code and it shows but if we add code format to it then it is not showing :O Commented May 23, 2018 at 9:18
  • Any how, i have able to put the code syntax on your code:)
    – Amit Bera Mod
    Commented May 23, 2018 at 9:36
  • @AmitBera, I know, by using a workaround with the quote block like I did. But this is not a solution
    – Black
    Commented May 23, 2018 at 9:38
  • Yes, it not a solution, i will look on later. Give a quick solution for no
    – Amit Bera Mod
    Commented May 23, 2018 at 9:44

2 Answers 2


This is because you put your code in a listing. Due to this, you need to intend the codes by 8 spaces.

This is not fixable since it is an ambiguity exists in the markdown language itself.

For more details, you can refer this link.


Hello I was Able to add block code in your question see 1.

This is a weired situation where we need to add 2 or 3 more space to add like code block

May be @amit or @marius can check

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .