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

你好,请问如何根据marp语法调节图片的大小 #71

Open
z2332677 opened this issue Apr 14, 2023 · 1 comment
Open

你好,请问如何根据marp语法调节图片的大小 #71

z2332677 opened this issue Apr 14, 2023 · 1 comment

Comments

@z2332677
Copy link

No description provided.

@JichouP
Copy link
Owner

JichouP commented Apr 14, 2023

@z2332677
Use the image syntax such as:

![width:200px](image.jpg) <!-- Setting width to 200px -->
![height:30cm](image.jpg) <!-- Setting height to 300px -->
![width:200px height:30cm](image.jpg) <!-- Setting both lengths -->

See: https://marpit.marp.app/image-syntax?id=resizing-image

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

2 participants