1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/modules/markup
Giteabot 4bfc43ef8d
Fix inconsistent rendering of block mathematical expressions (#29677) (#29711)
Backport #29677 by @yp05327

Fix #28735

GitHub render `\```math\``` ` as a block now.
Add `display` class will render it as a block.

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/2a1c20c7-438e-4ab1-8c66-cf91c8343087)

![image](https://github.com/go-gitea/gitea/assets/18380374/b81b8a93-8bca-46a5-b7db-e0d2f53e1342)

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-03-11 10:10:07 +01:00
..
asciicast Support asciicast files as new markup (#22448) 2023-01-18 08:46:58 +08:00
common Make user-content-* consistent with github (#26388) 2023-08-09 09:30:31 +00:00
console Add context when rendering labels or emojis (#23281) 2023-03-05 22:59:05 +01:00
csv Fix incorrect rendering csv file when file size is larger than UI.CSV.MaxFileSize (#29653) (#29663) 2024-03-08 09:13:58 +00:00
external Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
markdown Fix inconsistent rendering of block mathematical expressions (#29677) (#29711) 2024-03-11 10:10:07 +01:00
mdstripper Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
orgmode fix: rendering internal file links in org (#29669) (#29705) 2024-03-10 18:29:17 +01:00
camo_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
camo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
html_internal_test.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
html_test.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
html.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
renderer_test.go Move IsReadmeFile* from modules/markup/ to modules/util (#22877) 2023-02-13 15:01:09 -05:00
renderer.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
sanitizer_test.go Render plaintext task list items for markdown files (#26186) 2023-07-27 14:15:31 +00:00
sanitizer.go Render plaintext task list items for markdown files (#26186) 2023-07-27 14:15:31 +00:00