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.
gitea/modules/markup
charles f0033051d5
Fix markdown preview $$ support (#31514)
close #31481

currently `$$A + B$$ test` will ignore text after $$ block

test text

![圖片](https://github.com/go-gitea/gitea/assets/30816317/39b2974b-c0b6-48a0-87d0-5f4a13615eed)

before fix

![圖片](https://github.com/go-gitea/gitea/assets/30816317/15469e4c-474d-4128-b46f-d6cadaafbd68)

after fix

![圖片](https://github.com/go-gitea/gitea/assets/30816317/c1025eef-177f-4ade-988f-510e7039f3f9)

github display

![圖片](https://github.com/go-gitea/gitea/assets/30816317/97cd1e10-ac94-4899-86d8-8e359ef1d694)
7 months ago
..
asciicast Support asciicast files as new markup (#22448) 2 years ago
common Make `user-content-* ` consistent with github (#26388) 2 years ago
console bump golang deps (#31422) 8 months ago
csv Add `MAX_ROWS` option for CSV rendering (#30268) 8 months ago
external Rework markup link rendering (#26745) 1 year ago
markdown Fix markdown preview $$ support (#31514) 7 months ago
mdstripper Resolve lint for unused parameter and unnecessary type arguments (#30750) 9 months ago
orgmode fix: rendering internal file links in org (#29669) 11 months ago
camo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
camo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
html.go Support relative paths to videos from Wiki pages (#31061) 8 months ago
html_codepreview.go Refactor AppURL usage (#30885) 9 months ago
html_codepreview_test.go Render embedded code preview by permlink in markdown (#30234) 10 months ago
html_internal_test.go Fix hash render end with colon (#31319) 8 months ago
html_link.go Fix rendered wiki page link (#31398) 8 months ago
html_node.go Support relative paths to videos from Wiki pages (#31061) 8 months ago
html_test.go Support relative paths to videos from Wiki pages (#31061) 8 months ago
main_test.go Use repo as of renderctx's member rather than a repoPath on metas (#29222) 8 months ago
renderer.go Fix rendered wiki page link (#31398) 8 months ago
renderer_test.go Move `IsReadmeFile*` from `modules/markup/` to `modules/util` (#22877) 2 years ago
sanitizer.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_custom.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_default.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_default_test.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_description.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago
sanitizer_description_test.go Split sanitizer functions and fine-tune some tests (#31192) 8 months ago