yzhang-gh / vscode-markdown

Markdown All in One
https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one
MIT License
2.93k stars 326 forks source link

Markdown image not displayed in hover outside of containing file #1294

Open symon-765 opened 1 year ago

symon-765 commented 1 year ago

I am using this extension to help QA team members to identify POM selectors when writing e2e tests in cypress, the selectors are stored in a class (example below), when hovering over the method inside file that contains the class, the image is displayed,

image

however, when attempting to hover over the method name outside of the file, I get a broken image link, and instead shows the alt text.

image

example class:

class ChangeEmail {

    /**![Change email forms email field](email.png)*/
    emailField() { return cy.get('#email') }

}

/**POM for [/user/dashboard/account/email/change] */
export const changeEmail = new ChangeEmail()

I have tried using relative path, absolute paths, base64 conversion, but nothing seems to be working, is this even possible to accomplish?

yzhang-gh commented 1 year ago

It doesn't seem to be related to this extension as the tooltip is fully provided by VS Code itself. You may report this to the VS Code repository.