Infinity-For-Lemmy/app
Sergei Kozelko 01071e2a52
Refactor and de-duplicate markdown code (#1086)
* Add todos to places that need more markdown fixes

* Parse spoilers and headings in sidebar

* Assign anonymous MarkwonPlugin to a variable

Prepare code for a future refactoring

* Assign click listener lambda to a variable

Prepare code for a future refactoring

* Add function for creating Markwon with full markdown

All the builders had the same plugins applied to them, except for
BetterLinkMovement. But it is safe to add the plugin as it just adjusts
link interactions.

Also some plugins are now applied in a different order but it doesn't
change anything in this case.

* Add function for creating Markwon with only links support

* Extract UrlMenuBottomSheetFragment creation

* Add functions for creating MarkwonAdapters

* Replace linkify with newInstance for BetterLinkMovementMethod

Because varargs weren't used, the two methods are identical
2022-10-08 12:22:22 +08:00
..
src Refactor and de-duplicate markdown code (#1086) 2022-10-08 12:22:22 +08:00
build.gradle Minor bugs fixed. 2022-09-21 15:54:58 +10:00
proguard-rules.pro keep class CrashReportsFragment 2021-11-03 05:45:53 +07:00