At the current point, the drawio png will be used to render a diagram in remarkup. There are several drawbacks:
- the size is locked (bad resolution)
- you will only see the first page
We should use the drawio viewer to render the diagram. This is a 2mb js file which is already present and it can be used to generate html code from the drawio mx data (which is part of the png data).