I am trying to include a code block in a page while documenting some stuff. If i try to put a code block under a sub-section (i.e., not really to the left-most side), then even in that case, the code block is aligned to the left-most side as shown in the attachment. Is there a way (without getting Administrator involved) i can align it so it starts just under the sub-section?
Maybe others still have the same question, although some time has gone.
In order to add the code block in continuation of your list item, you need to do this:
In order to continue the current item with more text, you can just click to the right of the code block, and make another line break (Shift + Enter).
If you wanted to add a new item, you would make a real paragraph break (Enter without Shift).
Hi @GC,
I assume using a table would not be an elegant solution but that you could do? I mean it's just a quick and silly idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's right. It doesn't look elegant :( and i have also tried aligning tables earlier for similar use-case where i wanted to create it under a sub-section. That too doesn't budge from its leftmost position.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.