When requesting a page from the Confluence REST API there seems to be no representation, that conserves the newlines contained in a code macro. So
class SomeClass : public BaseClass
{
public:
protected:
int m_var;
private:
};
becomes
class SomeClass : public BaseClass { public: protected: int m_var; private: };
in the response of the server.
Is there any way to make the newlines visible?
I tried body.export_view, body.storage, body.styled_view and body.view.