Home / GitHub Page

How to indent like a pro without making it formatted text?


#1

Hi

I want to indent my text paragraphs but as you know indent makes it formatted, I looked at the docs, it talks about lists with paragraphs but tha tis not wanyt i want either. I want a regular blick of text that is indented just below another line of text.

thanks


#2

Have you tried using “block quote”? Just add a “>” at the very beginning of the paragraph you want indented.


#3

You can use &nbsp; or &#160; for spaces. <br> is there for line breaks.


#4

I tried that but it only indents the first line :frowning: I want to be able to indent many paragraphs as easy as possible


#5

I think your only option is to use HTML along CSS. For example that should work:

<div style="margin-left: 10px">My indented paragraph.</div>

If you want to do something more fancy you can also assign a class to this div block and use the user-style.css file to apply the margin (see the doc for info on how to use custom CSS)


#6

Thanks , I think that might work,