如何使用 tabulato 在 table 行中打印新行?

how to print new line in table row using tabulato?

我尝试了下面的代码。

        {
            "Topic": "If statement",
            "C": "if ( condition )\r\n   { code ;}\r\nelse if( condition )\r\n   { code; }\r\nelse \r\n   { code; }",
            "C++": "if ( condition )\r\n   { code ;}\r\nelse if( condition )\r\n   { code; }\r\nelse \r\n   { code; }",
            "JAVA": "if ( condition )\r\n   { code ;}\r\nelse if( condition )\r\n   { code; }\r\nelse \r\n   { code; }",
            "PHP": "if ( condition )\r\n   { code ;}\r\nelse if( condition )\r\n   { code; }\r\nelse \r\n   { code; }",
            "JS": "if ( condition )\r\n   { code ;}\r\nelse if( condition )\r\n   { code; }\r\nelse \r\n   { code; }",
            "PL/SQL": "if (conditio) then \r\n   {code;}\r\nelsif (conditon) then \r\n   {code;}\r\nelse \r\n   {code;}",
            "VBNET": "If condition Then\r\n    code\r\nElse If condition Then\r\n     code\r\nElse\r\n     code\r\nEnd If",
            "PYTHON": "if ( condition ):\r\n    code\r\nelif ( condition ):\r\n    code\r\nelse: \r\n    code"
        },

但是新行没有显示。1

来自here

The textarea formater shows text with carriage returns intact (great for multiline text), this formatter will also adjust the height of rows to fit the cells contents when columns are resized.

{title:"Example", field:"example", formatter:"textarea"}