Comments (4)
Obsidian has an existing feature for this — see Obsidian docs
You can define the dimensions via this notation ![[image.png|100x100]]
If you want to disable maximizing the width of images you can also write a snippet like
.markdown-preview-view .image-embed img:not([width]) {
width:auto;
}
Or set the width value to whatever you want the default to be
from obsidian-minimal.
@kepano this CSS override is perfect, and simple! thank you. While obsidian's implementation isn't % based (my desire to use % is something I'm pushing for official obsidian support of), Obsidian's width and width/height override is a great feature to use as well.
In regards to the obsidian-minimal theme setting, this default of auto
is exactly what I need to be able to comfortable use the obsidian-minimal theme again. I imagine others might like it as well, because one wouldn't really expect a "theme" (UI) to have a direct impact on how something like images function in the app itself - in particular for folks who paste screenshots of small items (such as UI components) to paste into the editor.
Question: would it be significant development to add this as a toggle-based setting in obsidian-minimal-settings, if there's demand? I'd be happy to help with development for that (preferably in a few weeks) if you think it might be useful!
from obsidian-minimal.
This is done. See 3.2.2
from obsidian-minimal.
@kepano you're the man! 🍻
from obsidian-minimal.
Related Issues (20)
- Add heading level indent feature
- Image zoom on click without hold HOT 2
- eink: backlink document name whited out HOT 3
- eink: currently selected menu item whited out HOT 2
- Left Sidebar Icons not visible HOT 3
- eink: tab name and backline file name still whited out HOT 1
- Add new card sorting option HOT 1
- UI anomaly with latest Insider-Mobile release HOT 5
- Left Align issue with Live Preview of Tasks Plugin Query
- Navigation UI elements are incorrectly displayed while using light gruvbox high contrast color scheme
- Hamburger menu for right side panel not shown when in Focus mode HOT 2
- More Catppuccin Flavors HOT 1
- square brackets in link text breaks link rendering in preview mode HOT 1
- How to cancel indentation in bullet lists cards? HOT 1
- The Filter "circle" in Image filters doesn't work HOT 1
- Font Weight of Internal Links in 1.6.3 HOT 6
- Title bar / breadcrumb trail hidden unless hovering in Obsidian 1.6.2 HOT 2
- Black text on active item HOT 2
- Bold weight parameter has changed HOT 1
- Table is missing outside border HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-minimal.