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

Markdown linter and resized images #394

Open
1 of 2 tasks
ruzickap opened this issue Dec 6, 2024 · 0 comments
Open
1 of 2 tasks

Markdown linter and resized images #394

ruzickap opened this issue Dec 6, 2024 · 0 comments

Comments

@ruzickap
Copy link

ruzickap commented Dec 6, 2024

Is this a hackmd.io issue?

What's the problem

Markdown linter marks the resized images as not properly written.
If I take the official example:

For example:
![](https://i.imgur.com/zy4JDY4.png =50%x)

I'm getting the MD034 issue visible in the GUI.

Current behaviour

image

Provide steps to reproduce:

  1. Write the following text:
![](https://i.imgur.com/zy4JDY4.png =50%x)
  1. Turn on the "linter"

Expected behaviour

No linter issues in proper Markdown code?
Is ![](https://i.imgur.com/zy4JDY4.png =50%x) the proper Markdown code?

i saw the following syntax for making images smaller:

![Kali Linux](https://user-images.githubusercontent.com/45159366/128566095-253303e2-25d8-42f1-a06d-0b38ca079a1a.png){:width="600"}

... which looks like "valid" markdown ...

Environment

I use HackMD on:

Desktop

  • Browser: Chromne
  • Browser Version: 131.0.6778.108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant