Provide a display all button to render KaTeX or LaTeX math blocks

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

Markdown documents which include KaTeX or LaTeX rendered math blocks require users to click a "Display Anyway" button for each block, regardless of how small the rendered block would be. In some documents, this can cause the user to need to click these buttons dozens of times.

This limitation is in place to prevent a large document with very large math blocks from causing performance issues, however, so many repetitive clicks can be tedious to users.

Issue for "Display Anyway" button: #243533 (closed).

Proposal

Allow for a "Display All" button which will render all math blocks below a configurable size within the document. That configurable size should be something the GitLab administrators can set to allow them to control over the resources which these renders can take.

This will allow a user to click a single button to render all small math blocks within the document at once.

Edited by 🤖 GitLab Bot 🤖