jtxBoard icon indicating copy to clipboard operation
jtxBoard copied to clipboard

[BUG] Markdown rendering of lists needs a bigger indent

Open tiptruck opened this issue 1 year ago • 5 comments

Describe the bug When displaying lists in markdown, the different layers are hard to tell apart becuse the extra indent is very small To Reproduce In any field that excepts markdown

  • Layer1
    • Layer2
      • Layer3

The text is rendered but the indenting is not obvious (here it works well)

Expected behavior A clear difference between levels Screenshots SmartSelect_20231217_201847_jtx Board SmartSelect_20231217_201900_jtx Board

Device and version

  • Device: [e.g. Samsung Galaxy S22] Tab S7
  • Android version: [e.g. Android 11] 13
  • jtx Board version: [e.g. 2.1.0] 2.06.04.ose (206040012)
  • Downloaded from: [e.g. Google Play, f-Droid, ...] F-Droid

tiptruck avatar Dec 17 '23 13:12 tiptruck

Thanks @tiptruck , I agree that this could be clearer.

@ArnyminerZ , can you tell if there is an easy way to adapt this indent of lists?

patrickunterwegs avatar Dec 17 '23 14:12 patrickunterwegs

@ArnyminerZ , I think the problem here is the use of \t for spaces, this seems to make almost no space on Android. Do you see an alternative here to maybe use spaces?

patrickunterwegs avatar Dec 22 '23 21:12 patrickunterwegs

I'm doing a full rewrite of the library, since it was quite unmanageable to fix bugs and add new features, though it will take some time, since I'm currently doing my final exams. However, I will keep working on my free time, and of course, everything will speed up once I finish (aprox mid February).

You can follow the development here:

https://github.com/ArnyminerZ/MarkdownText/pull/98

ArnyminerZ avatar Jan 30 '24 11:01 ArnyminerZ

Dear Arnau,

Thank you for doing this for us and good luck with the exams. Life happens.

Regards Craig

--

Craig Tipping,

When you stop learning, stop listening, stop looking and asking questions, always new questions, then it is time to die. - Lillian Eugenia Smith

-------- Original Message -------- On 30/1/24 18:18, Arnau Mora wrote:

I'm doing a full rewrite of the library, since it was quite unmanageable to fix bugs and add new features, though it will take some time, since I'm currently doing my final exams. However, I will keep working on my free time, and of course, everything will speed up once I finish (aprox mid February).

You can follow the development here:

ArnyminerZ/MarkdownText#98

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

tiptruck avatar Jan 31 '24 13:01 tiptruck

I have noticed that continuation lines of those bullet lists (so if the text is very long and needs to be wrapped for display) also miss the correct indent to line up with the previous line (version: 2.7.0 from F-Droid).

I guess, this is related?

ChristianTacke avatar Feb 07 '24 18:02 ChristianTacke