Code problems

  • Unknown's avatar

    I am trying to write an article about the basic concept of programming. Therefore, I use tags in the HTML. However, I am trying to use code spacing, but the Flounder Theme just won’t do it. For instance:

    var a = 'Hello';
    if(a == 'Hello')
    {
    console.log(a);
    }
    But these space before the console.log thing won't work; WordPress will erase them. What can I do?

  • The topic ‘Code problems’ is closed to new replies.