microsoft / vscode-docs-authoring

VSCode extension that provides markdown authoring assistance to docs.microsoft.com contributors
MIT License
138 stars 97 forks source link

Add option to customize width of Markdown preview screen #932

Open Pottal opened 1 year ago

Pottal commented 1 year ago

Problem

The default width of the Markdown preview is too narrow, making it difficult to read.

Proposal

I propose improving the functionality to allow users to set the width of the preview screen.

(Using HTML tags such as <div style="width: 1500px"> to force a specific width is not an intelligent solution. Therefore, I would like to request an option to set the preview width through the settings.)

adegeo commented 1 year ago

I don't know why the default would be so small.... It's a hugely inaccurate depiction of the docs publishing site:

image

PamlJam commented 1 year ago

Thanks for letting me learn <div style="width: 1500px">

It helps a lot.

circlesmiler commented 9 months ago

The preview width also seems to change (in a weird way), when you use "zoom" for making the whole IDE font size bigger/smaller. I use this often when I do screen sharing sessions.

It seems that the preview width is getting smaller, when the zoom is going up. So, the font is bigger but the preview width is smaller:

image

One size up:

image