Docs - Markdown indenting and images

Question

  • The sm_mode in the div (above it is viewable in the editor) with a closing tag at the bottom of this post modifies some of the regular markdown functionality, as show in this post below.

Please note: This page functions as a reference for post encoding usage, and will continue to be updated.


Markdown

Please see this link to understand how to use markdown.

This is a sentence in it's own paragraph. Notice there is a blank line above and below it.

And another regular line. But this one is one the same line as the last...you need a blank line in markdown to signal a new paragraph. Please read this in the editor, and then see how it actually prints out in the right hand pane, the preview/viewer.

1a. Spaces and new lines

Spaces and blank lines are treated differently in markdown.
They are all collapsed into a single space as indicated by this line, which is actually on a new line in the editor, but doesn't have a blank line above/below. In these cases, multiple spaces and even a new line is all translated into a single space.

1.b How to have text be immediately on the next line without a new paragraph

If you want a new line but don't want to have an extra spacing line, or you already have one, but need another, then use the backward slash
such as this line
To skip a line, you can use a single space with a backslash



such as on the lines above this one.

1.c When the backslash newline won't work, do this...

Sometimes this will not work (specifically if the next line is a markdown block) and you can use the "sm_nogap" indication, as shown below.

This is a special line (used here before an indent block, but can be used anywhere) that has no margin below.

This is an indented markdown block.
and another!


1.d Another way of achieving blank lines

  • Every so often you may need to force a new line(s) with one or more
    (without the backslashes) tag but that should be an exception! Use sparingly.

Indenting text

This is an indented markdown block. To indent, just put a greaterthan sign on the first line of a block of text.
and another line!

and yet another on a new line. Notice that the greater than sign is a markdown code, so you can either have a blank line above/below OR use the continuation backslash line to ensure the text continues on the next line.

and now 2 levels of indent
and another one at 2 levels

and some more with formulas x2α\therefore x^2 \alpha on this line

and now back to one level of indent

α\alpha and some more
Images can be embedded here also, but the indent setting on the image over-rides any number of the greater than signs. e.g.


Image with indent (note indent can be indent2 or indent3 also)

  • You can remove the vpad or the indent at the end of the line to NOT indent and NOT vertical pad, but normally you would want those.

Side by side images (note indent can be indent2 or indent3 also)

Worked Solution

{{{correctAnswer}}}


Variant 0

DifficultyLevel

400

Question

  • The sm_mode in the div (above it is viewable in the editor) with a closing tag at the bottom of this post modifies some of the regular markdown functionality, as show in this post below.

Please note: This page functions as a reference for post encoding usage, and will continue to be updated.


Markdown

Please see this link to understand how to use markdown.

This is a sentence in it's own paragraph. Notice there is a blank line above and below it.

And another regular line. But this one is one the same line as the last...you need a blank line in markdown to signal a new paragraph. Please read this in the editor, and then see how it actually prints out in the right hand pane, the preview/viewer.

1a. Spaces and new lines

Spaces and blank lines are treated differently in markdown.
They are all collapsed into a single space as indicated by this line, which is actually on a new line in the editor, but doesn't have a blank line above/below. In these cases, multiple spaces and even a new line is all translated into a single space.

1.b How to have text be immediately on the next line without a new paragraph

If you want a new line but don't want to have an extra spacing line, or you already have one, but need another, then use the backward slash
such as this line
To skip a line, you can use a single space with a backslash



such as on the lines above this one.

1.c When the backslash newline won't work, do this...

Sometimes this will not work (specifically if the next line is a markdown block) and you can use the "sm_nogap" indication, as shown below.

This is a special line (used here before an indent block, but can be used anywhere) that has no margin below.

This is an indented markdown block.
and another!


1.d Another way of achieving blank lines

  • Every so often you may need to force a new line(s) with one or more
    (without the backslashes) tag but that should be an exception! Use sparingly.

Indenting text

This is an indented markdown block. To indent, just put a greaterthan sign on the first line of a block of text.
and another line!

and yet another on a new line. Notice that the greater than sign is a markdown code, so you can either have a blank line above/below OR use the continuation backslash line to ensure the text continues on the next line.

and now 2 levels of indent
and another one at 2 levels

and some more with formulas x2α\therefore x^2 \alpha on this line

and now back to one level of indent

α\alpha and some more
Images can be embedded here also, but the indent setting on the image over-rides any number of the greater than signs. e.g.


Image with indent (note indent can be indent2 or indent3 also)

  • You can remove the vpad or the indent at the end of the line to NOT indent and NOT vertical pad, but normally you would want those.

Side by side images (note indent can be indent2 or indent3 also)

Worked Solution

none

Question Type

Multiple Choice (One Answer)

Variables

Variable nameVariable value
correctAnswer
none

Answers

Is Correct?Answer

none

Tags

  • docs