Hello Obsidian community.
I think Obsidian may be upside down. Or inside out.
I’ll explain.
Problem
Obsidian MD does great job in styling the way the content looks in READING mode. Built-in styling, snippet CSS, plugins, are very powerful. It works, it’s nice.
However I don’t want any of that. I want the read view of my notes be flat, distraction free. Text only. No colours no borders, etc… I want the words to be the media for the message.
What’s the problem, don’t want it don’t use it?
Well, the problem is I need it. I need styling, but in EDIT mode.
I want my text to be presented in a styled way when I edit it, not when I view the final result in the READ mode (which I prefer text only).
EDIT mode provides instant access to the MD wiring. MD sticks out of the text forcing me to compile it in my head in real time as I edit my drafts. It does mark out the structure, but not accurate enough and effort to interpret the MD into the visual makes by brains throttle.
How nice would it be if I can enjoy the colors and custom formatting I can control with unobtrusive MD when I EDIT the text, when I create? Very. It would be very very nice, indeed.
For some reason EDIT mode is much less pliable than READ mode. Obsidian EDIT view HTML is less structured than READ HTML. For example, one can refer to a code block language in READ HTML selector but such data does not exist in EDIT HTML. One can customise list items style based on the list item level in READ mode, but one can not do that in EDIT mode.
Things I tried
PREVIEW mode, obviously
Almost works, but not quite. PREVIEW renders the note in READ style, and only the element that is being edited in EDIT style.
First, the edited element falls into the EDIT view which is not stylised. Not end of the world, but already a loss. Especially with call outs that turn into that scary structure where each line starts with > and a space.
Second, the PREVIEW plays nicely with standard styled MD elements, but elements styles with custom CSS often don’t switch to READ style correctly (possibly b/o poor CSS that breaks in PREVIEW or something). CSS and plugins also may start fighting for styling the PREVIEW producing amusing results.
Snippets CSS
I hit the fundamental issue of EDIT HTML not having enough data to allow defining css for EDIT. Could be just me though.
Community plugins
There are not many, but they exist. Codeblock Customizer is the one I use. While these plugins allow customising EDIT view beyond what I could achieve with custom CSS, these plugins were designed for a different task. The EDIT mode customisation covers only some MD elements, say code blocks, but would not allow customisation of lists, headers, call outs.
Disclaimer
Above are some strong statements. Like something been upside down, or things been impossible. Don’t shoot. Just following Obsidian’s forum guidelines, to make posts interesting and engaging.
Jokes aside, to me the asymmetry between the styling of the EDIT view and READING view is obvious. Being the ‘lucky’ one who cares more about EDIT view I thought I would raise the point. I don’t know how to write html, css or js. I have general ability to look inside and figure out stuff, but that’s it. Maybe I’m not holding it right. Hope someone with better knowledge of Obsidian could give me some advice or programmers with proper skills would create a community plugin to help with EDIT styling. Or maybe, who knows! Obsidian Team will turn their view (see what I’m doing here) to a certain group of the app users who use it for creative writing.