Skip to content

Enhancement: Improving Image resulting code in the Markdown parsing library #45734

@SirLouen

Description

@SirLouen

Impacted plugin

None / Other

What

Images doesn't have any width limitations

How

We have introduced the markdown parsing library in our synced handbooks (as part of the whole integration), and it seems that the resulting HTML for the images, when the images are too big, tend to break the page

Example

Image

Ideally, the markdown parser should add at least a max-width:100% and maybe, a object-fit:contain to avoid this unnecessary overflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Markdown[Status] Needs Author ReplyWe need more details from you. This label will be auto-added until the PR meets all requirements.[Type] EnhancementChanges to an existing feature — removing, adding, or changing parts of it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions