Add markdown live preview test & fix mermaid graph not rendering on load
requested to merge 479130-add-rspec-test-for-markdown-live-preview-fix-mermaid-graph-not-rendering-properly-on-load into master
What does this MR do and why?
Follow up MR for !162467 (merged) that addresses:
- when clicking preview, the mermaid diagrams do not render initially
- add tests for rendering mermaid & math equations in the single file editor preview tab
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen_Recording_2024-08-22_at_4.27.40_PM | Screen_Recording_2024-08-22_at_4.19.49_PM |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #479130 (closed)