Unable to insert a breakline on a project instructions table

I want to insert a breakline on a table’s cell in the project instructions file.

Using markdown it isn’t possible and in some forums, users propose to insert the <br\> tag but it neither works.

Any solution?

Thanks

Fèlix

1 Like

Hi @fxcb welcome to the community!

I’d be happy to help. Can you post a link to your Repl (or a copy which just has the markdown file if this is easier)?

2 Likes

Here is the code! In the last row of the table, I want to print each “two” number in a different row but it not works

|Input|Output|
  |:----------:|:----------:|
  |634 371|1005|
  |-31 -21|-52|
  |-23 23|0|
  |2 <br> 2 | 4 |
Input Output
634 371 1005
-31 -21 -52
-23 23 0
2
2
4

Edit by IanAtReplit - I took away the backslash after BR and it worked.

Seems to work fine to me…?

Input Output
634
371
1005
-31
-21
-52
-23
23
0
2
2
4
Raw
| Input | Output |
|-|-|
| 634 <br> 371 | 1005 |
| -31 <br> -21 | -52 |
| -23 <br> 23 | 0 |
| 2 <br> 2 | 4 |

I think it’s the backslash (\). <br> and </br> should work, but <br\> isn’t a valid HTML tag, I think that would just escape the > and make it text no matter what.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.