Fix markdown in rules screen (#1050)

* Display tables in rules screen

* Parse spoiler and headings in rules screen
This commit is contained in:
Sergei Kozelko
2022-09-09 08:34:00 +03:00
committed by GitHub
parent 401dba6d83
commit e0cf4ec485
3 changed files with 63 additions and 18 deletions

View File

@@ -11,14 +11,12 @@
android:textSize="?attr/title_font_16"
android:fontFamily="?attr/font_family" />
<TextView
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/description_markwon_view_item_rule"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textSize="?attr/content_font_default"
android:fontFamily="?attr/font_family" />
android:paddingBottom="8dp"
android:paddingStart="8dp"
android:paddingEnd="8dp"/>
</LinearLayout>