Clutter free edit mode

Hey guys,

Thanks for putting this together, it’s great!

I’d like to know how to hide URL’s (external links)
while still keeping [[double bracket]] (internal links)


I know this is the part of the code that controls this, I’ve been trying to delete parts of it, but I can’t get it, I must be missing something.

 /* inline formatting, link targets and [[ ]] disappears if not active line*/
   div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-formatting,
   div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-string.cm-url,
   div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-formatting-link
   { display: none; }

Thanks for the help!

1 Like