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

UG: images appear in two places #2514

Merged
merged 37 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
5444909
a
KevinEyo1 Jan 29, 2024
a4a4d72
Revert test changes
KevinEyo1 Jan 29, 2024
ea3aca7
Merge branch 'MarkBind:master' into master
KevinEyo1 Feb 4, 2024
c0f79a2
Merge branch 'MarkBind:master' into master
KevinEyo1 Feb 9, 2024
45b8846
Merge branch 'MarkBind:master' into master
KevinEyo1 Feb 18, 2024
21628f7
Merge branch 'MarkBind:master' into master
KevinEyo1 Feb 28, 2024
969865f
Add how to check if permissions are given
yucheng11122017 Mar 12, 2024
46397e7
Merge branch 'master' of https://github.com/MarkBind/markbind
yucheng11122017 Mar 14, 2024
21fa90c
Merge branch 'master' of https://github.com/KevinEyo1/markbind
KevinEyo1 Mar 15, 2024
0bc66f7
Merge branch 'master' of https://github.com/MarkBind/markbind
yucheng11122017 Mar 17, 2024
0ebb7cd
Merge branch 'MarkBind:master' into master
KevinEyo1 Mar 18, 2024
f798b1d
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Mar 20, 2024
48399bd
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Mar 20, 2024
cb84513
Fix merge conflict
yucheng11122017 Mar 23, 2024
701183b
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Mar 25, 2024
4a83981
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Mar 29, 2024
7e7cfb7
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Mar 29, 2024
57a9f9a
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Mar 31, 2024
4730eba
add stuff
Apr 1, 2024
5c8bcfe
kevin
Apr 1, 2024
64819db
Merge pull request #32 from leongdl135/master
KevinEyo1 Apr 2, 2024
e2f6301
Allocate space for scrollbar in nav components
jingting1412 Apr 5, 2024
eb69423
Fix merge conflict
yucheng11122017 Apr 5, 2024
936dadc
Fix merge conflict
yucheng11122017 Apr 5, 2024
5b9e7d7
Revert "Fix merge conflict"
yucheng11122017 Apr 5, 2024
77a6a80
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Apr 5, 2024
2873a6e
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Apr 6, 2024
012ac3a
Merge branch 'MarkBind:master' into master
KevinEyo1 Apr 6, 2024
f8c0d97
Merge branch 'master' of https://github.com/KevinEyo1/markbind
KevinEyo1 Apr 6, 2024
3814f15
Fix code
KevinEyo1 Apr 6, 2024
89de762
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Apr 8, 2024
21d35aa
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Apr 9, 2024
48cbdd5
Remove change
KevinEyo1 Apr 9, 2024
47fa713
Merge branch 'master' of https://github.com/MarkBind/markbind
KevinEyo1 Apr 10, 2024
6675bb2
Add crosslinks
KevinEyo1 Apr 11, 2024
67b9d08
remove capital
yucheng11122017 Apr 11, 2024
cd94de5
Add explanation for clickable
yucheng11122017 Apr 11, 2024
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
6 changes: 6 additions & 0 deletions docs/userGuide/syntax/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,9 @@ Clicking on this image will bring you to the MarkBind homepage (instead of openi
[![logo](https://markbind.org/images/logo-lightbackground.png =150x)](https://markbind.org)
</variable>
</include>

<box type="info" seamless>

If you want to display images with captions, or have the image auto-resize to fit its container, take a look at [MarkBind's `pic` component]({{baseUrl}}/userGuide/components/imagesAndDiagrams.html#pictures).

</box>
6 changes: 6 additions & 0 deletions docs/userGuide/syntax/pictures.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ src | `string` | | **This must be specified.**<br>The URL of the image.<br>The U
width | `string` | | The width of the image in pixels.<br>If both width and height are specified, width takes priority over height. It is to maintain the image's aspect ratio.
lazy | `boolean` | false | The `<pic>` component lazy loads if this attribute is specified.<br>**Either the height or width should be specified to avoid layout shifts while lazy loading images.**

<box type="info" seamless>

If you want to display images that are automatically linked to its image URL, such that one can click on the image to view the full image, take a look at [MarkBind images]({{baseUrl}}/userGuide/formattingContents.html#images).

</box>

<div id="short" class="d-none">

```html
Expand Down
Loading