fjira
fjira copied to clipboard
Rich text tables in description and comments renders as plain-text code
Desktop:
- OS: ArchLinux (6.6.7-arch1-1)
- Terminal: kitty (0.31.0)
- Shell: bash (5.2.21)
- Architecture: x86_64
- Fjira version: 1.1.1
Describe the bug Tables in rich text description and comments show the underlying table code as plain-text.
To Reproduce Steps to reproduce the behavior:
- Create a jira issue, adding a table to its description.
- View this issue in fjira.
- Optionally, add a comment to the issue adding a table, and view that as well.
Expected behavior The table shows and is readable in a format similar to this.
Additional notes
Issue in jira:
Issue in fjira:
I think it's somehow relates to https://github.com/mk-5/fjira/issues/55
I will take this up soon - the problem is not that trival .. because tcell doesn't support any kind of markdown formatting.
Glad to hear! I'm not entirely sure it's the same issue, as the tables have this weird adf
json-like structure. I'd definitely agree with the old table format that used the |
characters.
But in all honesty, I don't really know how tcell works so I may be shooting in the dark.
@trincasidra it's plus-minus about parsing markdown, and render it in tcell. So I need to do some selection - which markdown tags will be supported from the beginning.
I'm thinking about:
- list
- basic fonts tags like bold, italic
- links
- tables
I'll take it up soon - but first I'd like to take&close this one: https://github.com/mk-5/fjira/issues/93
Totally agree, no worries!