Skip to content

Conversation

@jleightcap
Copy link

This is a somewhat major performance feature for HTML rendering in practice. Although there are certainly cases where you want to eagerly load images (logos, headers), the significant majority use benefits from the lazy loading of images which are distributed throughout the document.

There doesn't seem to be an existing mechanism for controlling this kind of attribute on tags, this PR just sets it as a default.

@kristapsdz
Copy link
Owner

I don't want -thtml (or any mode) to output global overrides to format defaults like this. However, is there a way in other markdown formatters to effect this, like using tag attributes (e.g., { .home #link2 } for the home class and link2 identifier)?

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

Successfully merging this pull request may close these issues.

2 participants