You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 65cbb5f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/react-native-enriched-markdown/android/src/main/java/com/swmansion/enriched/markdown/renderer/BlockStyleContext.kt
Copy file name to clipboardExpand all lines: packages/react-native-enriched-markdown/android/src/main/java/com/swmansion/enriched/markdown/renderer/ListItemRenderer.kt
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ class ListItemRenderer(
38
38
39
39
val depth = styleContext.listDepth -1
40
40
val listStyle = config.style.listStyle
41
+
val parentMarkerWidth = styleContext.listItemMarkerWidth
Copy file name to clipboardExpand all lines: packages/react-native-enriched-markdown/android/src/main/java/com/swmansion/enriched/markdown/spans/BaseListSpan.kt
+17-7Lines changed: 17 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ abstract class BaseListSpan(
23
23
protectedvalmarginLeft:Float,
24
24
protectedvalgapWidth:Float,
25
25
internalvaldrawsMarker:Boolean = true,
26
+
internalvalparentMarkerWidth:Float? = null,
26
27
) : MetricAffectingSpan(),
27
28
LeadingMarginSpan {
28
29
privatevar cachedText:CharSequence?=null
@@ -38,17 +39,26 @@ abstract class BaseListSpan(
38
39
39
40
protectedabstractfungetMarkerWidth(): Float
40
41
42
+
/** The marker column a child measures its offset against. */
Copy file name to clipboardExpand all lines: packages/react-native-enriched-markdown/android/src/main/java/com/swmansion/enriched/markdown/spans/OrderedListSpan.kt
0 commit comments