Code Block rendering shows additional newlines if code block is indented too much
jayb-g opened this issue · 2 comments
jayb-g commented
Example:
5 Indents - Markdown(from sublime text):
Expected behavior is that the last screenshot above is how it should render regardless of number of indents.
I have a feeling that it might be related to #88, although both the above tests are done with full screen terminal only.
ttscoff commented
huh, looks like the issue is it's actually exceeding the wrap width on
line lenghts and wrapping whitespace to the next line. I'll look into it
as soon as I'm able.
Thanks,
Brett
…On 17 Aug 2023, at 7:37, jayb-g wrote:
### Example:
5 Indents - Markdown(from sublime text):
![Screenshot from 2023-08-17
17-59-46](https://github.com/ttscoff/mdless/assets/135106026/4d8772b4-ce36-41ed-896f-66ae47dcff61)
Rendered by mdless:
![Screenshot from 2023-08-17
18-00-18](https://github.com/ttscoff/mdless/assets/135106026/e8ca71e9-2f08-46a8-94b8-4c207d11f28b)
1 indent, same code:
![Screenshot from 2023-08-17
18-02-51](https://github.com/ttscoff/mdless/assets/135106026/75f14b4a-1fa2-43e3-8a6f-5bdbdca63406)
Rendered by mdless:
![Screenshot from 2023-08-17
18-02-32](https://github.com/ttscoff/mdless/assets/135106026/cd08c84b-ab99-4652-a141-8fdc9116f644)
Expected behavior is that the last screenshot above is how it should
render regardless of number of indents.
--
Reply to this email directly or view it on GitHub:
#89
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>