PowerToys
PowerToys copied to clipboard
Markdown Previewer - bug in code blocks formatting
Environment
Windows build number: 10.0.18363.815
PowerToys version: v0.17.0
PowerToy module for which you are reporting the bug (if applicable):
File Explorer -> Markdown Previewer
If the markdown file contains fenced code blocks (using ```
), the preview has an extra space at the beginning of the first line.
Instead of:
Lorem ipsum dolor sit amet, consectetur
adipisicing elit. Iure at sed fuga, mollitia
ratione saepe ea voluptatum quos nulla nisi
beatae aut asperiores explicabo quae omnis
ullam vero incidunt. Veniam.
we see:
Lorem ipsum dolor sit amet, consectetur
adipisicing elit. Iure at sed fuga, mollitia
ratione saepe ea voluptatum quos nulla nisi
beatae aut asperiores explicabo quae omnis
ullam vero incidunt. Veniam.
Here's a screenshot:
I still see this bug in PowerToys v0.25.0. Also note that there is a lot of margin at the end of the code block, making it appear like there is an empty line.
Is this still an issue with the latest version?
Bug still present in v0.62.1
This has been worked on during the 0.80 release cycle. Please update to the latest release: https://github.com/microsoft/PowerToys/releases