mjbvz / vscode-github-markdown-preview-style

VS Code extension that changes the built-in markdown preview to match Github's styling
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles
MIT License
301 stars 57 forks source link

Suggest to max-width of markdown content #108

Closed ldmik closed 1 year ago

ldmik commented 1 year ago

The suggestion refers to below style:

.github-markdown-content {
    padding: 32px !important;
    max-width: 980px;
    min-width: 200px;
    margin: 0 auto;
}

When limited max-width, and you have big mermaid diagram presented, even though you have big screen, you still can't enlarge the picture to enough size.

Suggest to remove the limitation, if no big side effect.

mjbvz commented 1 year ago

This comes from the max-width of markdown on GitHub itself. We also use it so that we match Github's styling