Final update on this from me, I’ve slowly added back everything to the way it was, while also editing the note that I imported from Notion, and the crashes have stopped.
So the cause must have been either just some particular formatting issues (lots of incorrectly indented code blocks and bullet points), possibly in combination with the CSS styles.