Fully indented paragraphs in plain text editor

Wondering what the possibilities/feasibilities were for indented paragraphs or bullets to wrap at the indent and not back at the beginning of the line? So in the same way that org-mode does.

I love Joplin and prefer it's reliability and easy of use compared to maintaining a three-device sync on Emacs :wink:

The main thing I miss is how neat the nested indented text looks.

6 Likes

May I hop onto this and also wish for fully indented bullet points? The hierarchy of points is not easy to read in this example:

I'd love for it to look like this:

4 Likes

Agreed, these non-indented bullet points are very difficult to read easily, and I have to resort to the rendered view.

I played around with this and have a quick POC. Beware! It causes the cursor to act weirdly, and doesn't particularly work well with list items. I am going to run with it for a week to see if I can make it better, but in case anyone else wants to iterate...

In userchrome.css

{
.cm-s-default .cm-variable-2, .cm-s-default .cm-variable-2 {
    padding-left: 16px;
    text-indent: -16px;
    display: inline-block;
}

.cm-s-default .cm-variable-3 {
    padding-left: 32px;
    text-indent: -16px;
    display: inline-block;
}

.cm-s-default .cm-keyword {
    padding-left: 48px;
    text-indent: -16px;
    display: inline-block;
}

.cm-tab{
  display: none
  }
}
7 Likes

This is definitely something that I would love to see as well.

It's available with the Rich Markdown plugin. I believe the plan is to eventually make this the behaviour always, but the current solution is a little hacky, so it remains in a plugin.