Scenario: in Note-A you want all your images with the width=300px.
- In Note-A, use the frontmatter to create a specific
cssclass for this scenario (for example, cssclass: image300):
---
cssclass: image300
---
- Create a css snippet for your scenarios. For this example, add this css code:
.markdown-preview-view.image300 img {
width: 300px !important;
}
.markdown-preview-view.image300 .image-embed:active img {
width: 100% !important;
}
- Activate your css snippet, add your images to Note-A and all the images are presented with the defined width.