mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1. Fix multiple error display for math and mermaid: ![err](https://user-images.githubusercontent.com/115237/231126411-8a21a777-cd53-4b7e-ac67-5332623106e8.gif) 2. Fix height calculation of certain mermaid diagrams by reading the iframe inner height from it's document instead of parsing it from SVG: Before: <img width="866" alt="Screenshot 2023-04-11 at 11 56 27" src="https://user-images.githubusercontent.com/115237/231126480-b194e02b-ea8c-4ddf-8c79-50c525815d92.png"> After: <img width="855" alt="Screenshot 2023-04-11 at 11 56 35" src="https://user-images.githubusercontent.com/115237/231126494-5fe86a48-8d21-455a-8b95-79b6ee27a16f.png"> 3. Refactor error handling to a common function 4. Rename to `renderAsciicast` for consistency 5. Improve mermaid loading sequence Note: I did try `securityLevel: 'sandbox'` to make mermaid output a iframe directly, but that showed a bug in mermaid where the iframe style height was set incorrectly. Opened https://github.com/mermaid-js/mermaid/issues/4289 for this. --------- Co-authored-by: Giteabot <teabot@gitea.io> |
2 years ago | |
---|---|---|
.. | ||
chroma | 2 years ago | |
code | 2 years ago | |
codemirror | 2 years ago | |
console | 2 years ago | |
features | 2 years ago | |
markup | 2 years ago | |
modules | 2 years ago | |
shared | 2 years ago | |
standalone | 2 years ago | |
themes | 2 years ago | |
admin.css | 2 years ago | |
animations.css | 2 years ago | |
base.css | 2 years ago | |
dashboard.css | 2 years ago | |
editor-markdown.css | 2 years ago | |
editor.css | 2 years ago | |
explore.css | 2 years ago | |
font_i18n.css | 2 years ago | |
form.css | 2 years ago | |
helpers.css | 2 years ago | |
home.css | 2 years ago | |
index.css | 2 years ago | |
install.css | 2 years ago | |
organization.css | 2 years ago | |
package.css | 2 years ago | |
repository.css | 2 years ago | |
review.css | 2 years ago | |
runner.css | 2 years ago | |
svg.css | 2 years ago | |
tribute.css | 2 years ago | |
user.css | 2 years ago |