Hyphen-space or asterisk-space at start of a line starts bulleted list; can I choose?

Operating system

Windows

Joplin version

2.12.15

Desktop version info

Joplin 2.12.15 (prod, win32)
Client ID: ec2171795a444a419aad3cf2f2bf13f6
Sync Version: 3
Profile Version: 43
Keychain Supported: Yes
Revision: 2d26332

What issue do you have?

Starting a markdown line with or will start a bulleted list.
Is there a way to opt out, ie allow the to not be interpreted by markdown?
I could leave out the space, but was wondering if there was a settings option. Maybe it's just part of the markdown language, and there's no choice.

And bulleted lists seem to have bigger line spacing than just text lines. Is there a way to reduce this?
Thanks....

You can escape it with a backslash or put it in a code block.

e.g.

\- Item 1
\- Item 2

becomes
- Item 1
- Item 2

rather than

  • Item 1
  • Item 2

But yes, it is just part of the markdown spec (CommonMark Spec)

A list marker is a bullet list marker or an ordered list marker.
A bullet list marker is a -, +, or * character.
An ordered list marker is a sequence of 1–9 arabic digits (0-9), followed by either a . character or a ) character. (The reason for the length limit is that with 10 digits we start seeing integer overflows in some browsers.)

And bulleted lists seem to have bigger line spacing than just text lines. Is there a way to reduce this?

It is possible only in the rendered panel changing the userstyle.css adding for example:
ul li {
line-height: 1.0;
}
But I do not know if this was your requirement, or you want to change the line spacing in the markdown editor as well.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.