How to view notes with no line marked as active?

Operating system

Windows

Joplin version

3.3.12

Desktop version info

Joplin 3.3.12 (prod, win32)

Device: win32, Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Client ID: bd7c36936ac4478abee7710d9c5e207f
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes
Alternative instance ID: -

Revision: 4d790b6

Backup: 1.4.3
Extra Markdown editor settings: 1.11.0
Joplin DDDot: 0.4.2
Quick Links: 1.3.2
Rich Markdown: 0.16.0

Editor

Markdown Editor

What issue do you have?

I use that CodeMirror 6 "extra" option to hide a subset of the Markdown syntax on inactive lines. This is a great new feature that brings Joplin closer to Typora and the like by allowing a single pane to act as both the editor and reader.

The problem, however, is that either the first line or some other line will be marked active when switching between notes. Because it's active (even though you can't type into it if you come from the notes list!) all of the syntax will show.

Worse still is that it's not even predictable. Much of the time it's the first line that's active but sometimes it ain't. It seems like Joplin is trying to remember the last line edited and focusing it, but I don't want that nor is it useful in most cases, IMO. Unless you've very recently updated a note, what's the benefit of having any particular line marked as active? I just switched to a note I haven't touched in three years and found the third line active. Meanwhile things I edited earlier today are either showing the first line or one I definitely didn't touch today as active.

It's just inconsistent and gross since it shows all the syntax. Is there a way I can turn this off? I feel like I've looked over the options page half a dozen times looking for ones I might've missed to no avail. The screenshot below shows it highlighting the last-edited line in this case, but I'm sure if this line were off the screen on load it wouldn't be the active one. I want no lines marked as active or at least always the first line so there's some consistency.

Yes, justified text is weird but I'm trying it out. It's generally fine since link markup is hidden with my current settings, but now you can see just how gross it can be to have random lines considered active. D:

Screenshots

The "Rich Markdown" plugin has a setting called "Focus Mode" that can be switched off. Is this what you are looking for?

Nah. I never had it enabled. It just makes the whole note dim minus the line you're working on.

I'm looking for a way to have either the first line to always be considered active when switching notes or, ideally, for no lines to be active until I've clicked into the note to edit it. Having any line marked as active gets in the way of hiding Markdown syntax, but at least I can work around it if it's always the first line.

Thank you for reporting this! I've opened a GitHub issue:

1 Like

Does "hiding all lines" mean to not mark any as active in CodeMirror parlance?

I've updated the linked issue with a more accurate title and description, By "hide all lines", I meant "render markup on all lines".

1 Like