title: how to show JSON on codemirror?
body: <p>currently I am using <code>ngx-codemirror</code> - a angular wrapper on the codemirror.</p>
  
  <p>in the my app</p>
  
  <p>html as show</p>
  
  <pre><code>&lt;ngx-codemirror [(ngModel)]="data" [autoFocus]=true [options]="{lineNumbers: true,theme: 'material',mode: 'markdown'}"&gt;&lt;/ngx-codemirror&gt;
  </code></pre>
  
  <p>ts as show</p>
  
  <pre><code>data='';
     json = {
          "title": "Type",
          "description": "A type of product",
          "type": "object"
    };
  
  constructor(){
        this.data = JSON.stringify(this.json);
  }
  </code></pre>
  
  <p>it shows correctly the json text in a single line, but I want to show it in a json format instead of a string within a single line.</p>
  
  <p>how would I do that?</p>