Indenting with Markdown (on Forum and in the Handbook)

• Jul 24, 2021 - 07:48
A "colon and space" (preceding a paragraph) works here on the forum. Only problem is—as with this line—I can't get a normal paragraph margin preceding the indented text:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

... but note "colon and space" does not work in the Handbook.

Is there a known technique that works in both the forum and handbook? Blended HTML?


Comments

a couple spaces (4 IIRC) do indent too. This is used in the handbook for sure.

But it can lead to this too:

But "newline, colon, space" (AKA definition list) does work too, see https://musescore.org/en/handbook/3/glossary

In reply to by Jojo-Schmitz

Thanks Jojo, but as you suggested, I'd like to avoid that PRE/codeblock formatting.

I thought of using blended HMTL with an inline CSS margin set on a div, like this:

      Blended HTML with inline CSS div indent.png

... but it produces this:

Line 1 sample text in a div element

Line 1 sample text in a div element

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

===============

I've understood that the forum used to support blended HTML, but not currently. And I supposed the Handbook could be different. Whatever the case, it seemed like the : symbol wasn't making indents. And at times I'd like to be able to get successive indents, so I thought perhaps there was a better mechanism.

scorster

In reply to by Jojo-Schmitz

Right. I used colon space and got a similar result in my opening post here on the forum.

Do you know if colon space works on the Handbook too? Wasn't working for me earlier today, but maybe I goofed something.

Blended HTML might be more straight forward, like the div example I gave. But it seems like on a certain subset is allowed.

In reply to by Jojo-Schmitz

I temporarily used non-breaking spaces in the Handbook ... before posting here for a better method.

Non-breaking spaces work fine when one's sure the line won't break. A very unattractive left edge occurs when the line breaks.

I just tried colon space again. I guess Markdown coverts bullets to an unordered list? And understandably the colon space doesn't want to render in an unordered list. And it doesn't want preceding hard spaces.

Blended HTML? Maybe a paragraph with a left-margin styled inline?

In reply to by Jojo-Schmitz

Jojo wrote *Why don't you use an ordered list *

I worked it out by shortening lines enough to prevent wrapping.

I avoided an unordered list it get's unpleasantly bullet pointy. But if I need to use longer lines I consider your suggestion of an ordered list.

I always thought is was a huge oversight that HTML doesn't have a Indent and tab settings, per paragraph or per div .... indents and tabs are universally supported word processors.

scorster

Do you still have an unanswered question? Please log in first to post your question.