Why does editor look different in live preview mode and reading mode?

Please look at following GIF. The exact same content in live preview vs reading mode.

ezgif-4-1f92ce8999

I work in live preview mode most of the time, however, the same content looks better in reading mode. The spacing, padding etc are configured more elegantly.

Is there any CSS hack to make them look exactly same? Idea is to never have to toggle “Reading” mode ever again ane truly enjoy WYSIWYG system. I like to often toggle to Reading view just to read from the well spaced version of my note.

2 Likes

Edit mode is the “Raw” Markdown area where you can make Edits to your file.
Live preview (or reading mode) is showing what the file looks with the Markdown
is displayed, no editing is allowed.

I changed the post title to reflect the actual question. (Was: “Why does editor look different in edit mode and live preview mode?”)

You should be able to use the developer view to check the styles of each mode and copy the Reading Mode styles you want into a snippet for Live Preview.

Or you could do what I do and just type a blank line after headings so it looks good everywhere. :slight_smile:

@CawlinTeffid Thanks for fixing the title.

So I ended up solving my problem by some CSS hacks here and there. I added some margin/padding to heading tags and it brought it very close to the preview mode.

1 Like

Good afternoon, I wonder if it would be possible for you to share your CSS hacks, because I also want to achieve this, and I’m a newbie in terms of programming.

Thanks in advance

1 Like