Forum Stats

  • 3,824,927 Users
  • 2,260,440 Discussions


How do I post a whole block of code?

I can't figure out how to post code in a <pre> tag.

I can do one line at a time, but when I select multiple lines, the formatting menu doesn't pop up for me to select it.

Best Answer


  • L. Fernigrini
    L. Fernigrini Data Engineer Sr Consultant Member Posts: 3,834 Silver Crown
    Answer ✓

    Select multiple lines and then click on the symbol on the left side of the editor:

    And then on the double quotes

  • Aaron L.
    Aaron L. Member Posts: 33 Red Ribbon

    Here is a test:

    CREATE TABLE countries 
      ( country_id CHAR(2) 
      CONSTRAINT country_id_nn NOT NULL 
      , country_name VARCHAR2(40) 
      , region_id NUMBER 
      , CONSTRAINT country_c_id_pk 
      PRIMARY KEY (country_id) 

    Thank you

    L. Fernigrini