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.
forgejo/modules/markup
mrsdizzie 3ff0a126e1 Improve issue autolinks (#6273)
* Improve issue autolinks

Update autolinks to match what github does here:

Issue in same repo: #1
Issue in different repo: org/repo#1

Fixes #6264

* Use setting.AppURL when parsing URL

Using setting.AppURL here is a more reliable way of parsing the current
URL and what other functions in this file seem to use.

* Make ComposeMetas always return a valid context

* Add per repository markdown renderers for better context

* Update for use of context metas

Now that we include the user and repo name inside context metas, update
various code and tests for this new logic
5 years ago
..
csv Add csv file render support defaultly (#4105) 6 years ago
external Better logging (#6038) (#6095) 5 years ago
markdown Improve issue autolinks (#6273) 5 years ago
orgmode Better logging (#6038) (#6095) 5 years ago
html.go Improve issue autolinks (#6273) 5 years ago
html_internal_test.go Improve issue autolinks (#6273) 5 years ago
html_test.go Render SHA1 links as code blocks (#6546) 5 years ago
markup.go Better logging (#6038) (#6095) 5 years ago
markup_test.go Prioritize "readme.md" (#5691) 6 years ago
sanitizer.go Restructure markup & markdown to prepare for multiple markup language… (#2411) 7 years ago
sanitizer_test.go Restructure markup & markdown to prepare for multiple markup language… (#2411) 7 years ago