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

Update markdown-it-linkify-images to v2.0.0 #1838

Merged
merged 2 commits into from
Mar 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/userGuide/syntax/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,18 @@

![alt text here](https://markbind.org/images/logo-lightbackground.png "title here")
</span>

MarkBind also supports the `=Wx` shorthand for specifying image width:

<include src="codeAndOutput.md" boilerplate >
<variable name="highlightStyle">markdown</variable>
<variable name="code">
This image has a width of 100px: ![](https://markbind.org/images/logo-lightbackground.png =100x)
</variable>
</include>

<box type="info">
The width of images cannot exceed that of their parent container. If the specified width is too large, it will be ignored.
</box>

MarkBind does not support setting the height of images through the `=WxH` or `=xH` syntax. This is because images are automatically resized to ensure responsiveness based on their width.
65 changes: 7 additions & 58 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"markdown-it-attrs": "^4.1.3",
"markdown-it-emoji": "^1.4.0",
"markdown-it-imsize": "^2.0.1",
"markdown-it-linkify-images": "^1.1.1",
"markdown-it-linkify-images": "^2.0.0",
"markdown-it-mark": "^3.0.0",
"markdown-it-regexp": "^0.4.0",
"markdown-it-sub": "^1.0.0",
Expand Down