Describe the bug
The wrapping and centering is incorrect. The output leaves space on left side, even if on right side the text clips (instead of wrapping).
To Reproduce
Steps to reproduce the behavior:
- Prepare markdown file with long code line and other line that should wrap correctly
- Open the file with the viewer.
Expected behavior
I should see entire plaintext (non code block) line wrapped, and the code block line overflow should be handled in some way (wrapped or horizontal scroll maybe?), and the padding on left shouldn't be there if there is insufficient space on right side.
Screenshots
Device
- OS: Windows 10
- Version 21H2 LTSC
- App Version v2.6.4
Additional context
minimal example that reproduces the issue for me:
(note the reg add line - issue goes away if you shorten that line)
# Portable Windows 10/11 on USB SSD via VHD Boot
A complete guide for creating a persistent, portable Windows installation on external USB SSD using VHD boot. This method bypasses the USB bus reset issue that normally prevents USB Windows installations.
---
## Prerequisites
Doesn't matter, for issue repro let's just add some long line code block
```batch
reg add "HKLM\OFFLINE_SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 255 /f
```
(edit: better trimmed screenshot)
Describe the bug
The wrapping and centering is incorrect. The output leaves space on left side, even if on right side the text clips (instead of wrapping).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should see entire plaintext (non code block) line wrapped, and the code block line overflow should be handled in some way (wrapped or horizontal scroll maybe?), and the padding on left shouldn't be there if there is insufficient space on right side.
Screenshots
Device
Additional context
minimal example that reproduces the issue for me:
(note the
reg addline - issue goes away if you shorten that line)(edit: better trimmed screenshot)