Test thread — to test things out. Do not lock!

ax^2 + bx + c = 0 ⇨ x = (-b ± \sqrt{b^2 - 4ac})/2a

How do I get the ax^2?

Paging @Dr.Strangelove

Something like this?
ax^2 + bx + c = 0 \implies x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

$ax^2 + bx + c = 0 \implies x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$

Just make sure the whole thing is surrounded with $ $.

Very nice. Thanks!

Sure thing. BTW, there are some decent online editors you can use, such as:

Just paste the result in $ $ delimiters and you should be good to go. Occasionally you may find some unsupported functions since what we have here isn’t a perfect \LaTeX implementation, but it’s pretty good for most stuff.

testing

Testing spoilers in polls

Spoiled

Summary

Hidden

Test Poll

  • Spoiled Selection

  • Unspoiled Selection
0 voters

test
[img] light1.jpg (450×316) (camgo-campervan.com)

[/img]

light1.jpg (450×316) (camgo-campervan.com)

If you’re trying to embed it, it has to be just a bare link to the image file, which has to be at the end of your post, and you have to immediately post after entering it, before discourse processes a preview. And then you can never edit it.

EDIT: Testing the above rules by editing this post, and putting the edit text after the picture. I did this by removing the image URL while making my changes, and now I’m going to press save edit immediately after pasting the image URL back in.

Nice.

Images don’t have all those issues that vids do.

URL on line by itself, and a URL to a bare JPG, PNG, or GIF is all you need.

Everything else is immaterial. Text above or below, edits, previews, etc? None of that matters.

Vids are fussier, but that’s a different thread.

I think I knew that but forgot.

It’s very annoying.

test

If I copy and paste a block of text from MS Word that includes lines with a leading tab (or a margin indent), they don’t indent in a post here.

Line number 1
Line number 2
This line starts with a tab.
Line number 4

In the compose window, these lines looked like this:

Line number 1
Line number 2
	This line starts with a tab.	
Line number 4

Is there a character or string I can put into the Word doc so that the indent will show up when I paste it into a post here?

8 spaces?

No, if you try to paste a line with up to three leading spaces, Discourse ignores them. With four or more it treats the line as pre-formatted text.

This is a test.

You can use "<space><space>hyphen<space>"
The first indent needs just "hyphen<space>"
Subsequent indents need 2 spaces extra at the start…
Eg,

Line 1
- Line 2
  - Line 3
    - Line 4
- Line 5

Line 6

Gives

Line 1

  • Line 2
    • Line 3
      • Line 4
  • Line 5

Line 6

Not ideal, you get the bullet symbol things, but better than nothing.

Just remembered this … bit of a faff doing it in Word, but
you can use a table.
(Here’s a table example

| Col A | Col B | Col C|
|---|---|---|
| A1 | B1 | C1 |
| A2 | B2 |C2 |

gives

Col A Col B Col C
A1 B1 C1
A2 B2 C2
)

To get the indent effect, use blank table cells, you still need the header line and the line below

||||
|---|---|---|
|Line 1|||
|| Line 2 ||
|||Line 3|

gives

Line 1
Line 2
Line 3

(I don’t know why some of the vertical lines are slanted in the quotes, they’re
all vertical !!)