Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images not rendering in VS Code Preview #8061

Closed
rmca14 opened this issue Feb 20, 2025 · 1 comment
Closed

Images not rendering in VS Code Preview #8061

rmca14 opened this issue Feb 20, 2025 · 1 comment
Labels
*out-of-scope Posted issue is not in scope of VS Code

Comments

@rmca14
Copy link

rmca14 commented Feb 20, 2025

Type: Bug

For two users, some images that use the Learn image syntax (best practice) and the Standard image syntax (historical practice) are not rendering in VS Code Preview. VS Code is updated. A third user reported similar behavior, but their experience isn't documented. The VS Code image preview behavior is inconsistent between the users and across different repos.

Actual results:

https://github.com/MicrosoftDocs/learn-pr
learn-pr/azure/migrate-vmware-workloads-on-premises-azure-vmware-solution/includes/1-introduction.md, line 15, the image doesn't render in VS Code Preview for either user.

https://github.com/MicrosoftDocs/learn-pr
learn-pr/advocates/build-product-roadmaps/includes/7-themes.md, line 3, the image renders in VS Code Preview for one user, but not the other user.

https://github.com/MicrosoftDocs/architecture-center-pr
docs/mainframe/mainframe-proof-of-concept-content.md, line 11, the image doesn't render in VS Code Preview for either user.

https://github.com/MicrosoftDocs/azure-docs-pr
articles/active-directory-b2c/add-password-reset-policy.md, line 34, the image renders in VS Code Preview for one user (other user doesn't have the repo forked and cloned, so no test for them).

Expected results are all images will render in VS Code Preview, using the "Learn image syntax" (best practice) and the "Standard image syntax" (historical practice), for all users in all repos.

VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz (8 x 1896)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.81GB (4.60GB free)
Process Argv --crash-reporter-id 41c99fa8-14d1-4f25-b963-eaecec365c1a
Screen Reader no
VM 0%
Extensions (18)
Extension Author (truncated) Version
vscode-sidebar Acr 1.2.3
LinkCheckMD bla 0.3.1
vscode-markdownlint Dav 0.58.2
docs-article-templates doc 1.0.7
docs-authoring-pack doc 1.0.2
docs-build doc 0.4.6
docs-images doc 1.0.4
docs-linting doc 0.0.13
docs-markdown doc 1.0.11
docs-metadata doc 1.0.9
docs-preview doc 1.0.9
docs-scaffolding doc 1.0.8
docs-visual-areas doc 0.2.1
docs-yaml doc 1.0.5
vscode-pull-request-github Git 0.102.0
Learn-Training-AI-Assistant Lea 1.1.52
vscode-yaml red 1.15.0
code-spell-checker str 4.0.34
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyonecf:30548226
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31217127
9064b325:31222308
copilot_t_ci:31222730

@ntrogh ntrogh added the *out-of-scope Posted issue is not in scope of VS Code label Feb 21, 2025
@ntrogh
Copy link
Contributor

ntrogh commented Feb 21, 2025

@rmca14 VS Code preview doesn't support Learn-specific Markdown syntax. This functionality is provided by the Learn-preview VS Code extension. Please reach out to the team that owns the extension to resolve this problem.

@ntrogh ntrogh closed this as completed Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

2 participants