From time to time you might want to display large block of text in Business Central. Maybe the request / response from some integration. Maybe the contents of a text file that has been imported.
I’ve written before about using the WebPageViewer add-in to format text nicely for a user to read. That’s cool, but we can do better than that.
We can embed Visual Studio Code’s Monaco editor in a control add-in for a lovely text viewing and editing experience.
With help from this post: https://log.schemescape.com/posts/web-development/embedding-monaco-from-cdn.html