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
John Olheiser 7d7ab1eeae Issue/PR Context Popups (#9822)
* Add data-index attribute to issue anchors

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Init JS

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add required data to anchor

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Finish popup

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Revert changes to html.go

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Better octicon contexts

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Split out popup function for re-use

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Style changes, test fixes, and cross-reference support

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Prefer em to px

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Move label margin to base CSS

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Move JS to separate file.

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Move JS to features and fix module

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Remove query-string and hash

Co-Authored-By: silverwind <me@silverwind.io>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
..
common Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
csv Detect delimiter in CSV rendering (#7869) 5 years ago
external Better logging (#6038) (#6095) 5 years ago
markdown Issue/PR Context Popups (#9822) 5 years ago
mdstripper Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
orgmode Update go-org to optimize code (#8824) 5 years ago
html.go Issue/PR Context Popups (#9822) 5 years ago
html_internal_test.go Issue/PR Context Popups (#9822) 5 years ago
html_test.go Issue/PR Context Popups (#9822) 5 years ago
markup.go Support inline rendering of CUSTOM_URL_SCHEMES (#8496) 5 years ago
markup_test.go Prioritize "readme.md" (#5691) 6 years ago
sanitizer.go Issue/PR Context Popups (#9822) 5 years ago
sanitizer_test.go Allow kbd tags (#9245) 5 years ago