yydcdut / RxMarkdown

:fax:Markdown for Android, supports TextView && EditText (Live Preview), supports code high light.
750 stars 93 forks source link

line-height (space between the lines) is too small #13

Closed stefan-niedermann closed 7 years ago

stefan-niedermann commented 7 years ago

As a user i would like to have the option to configure the line-height to enhance readability. Alternativeley this issue would be solved for me if the line-height would be increased hardcoded by 50%.

yydcdut commented 7 years ago

You mean android:lineSpacingExtra or android:lineSpacingMultiplier ?

yydcdut commented 7 years ago

horizontal rules height?

stefan-niedermann commented 7 years ago

Damnit, i messed it up with #14

stefan-niedermann commented 7 years ago

I didn't use lineSpacing in android yet, but i think what i am trying to say is: android:lineSpacingMultiplier should be 1.5

The according CSS-syntax (Example) would be line-height: 150%;

korelstar commented 7 years ago

This is a comparison of 1 (left) and 1.15 (right): http://vickychijwani.me/content/images/2015/11/popular-movies-cramped-text.png

I think, the right one (1.15) would be a good default.

stefan-niedermann commented 7 years ago

yeap

yydcdut commented 7 years ago

eh, yes, android:lineSpacingMultiplier

stefan-niedermann commented 7 years ago

@yydcdut has this been fixed by a new option? if yes: how to use it? or has this been fixed by increasing the lineSpacingMultiplier globally?

yydcdut commented 7 years ago

lineSpacingMultiplier