I have a markdown table that uses <br> to get around the lack of support for rowspan. I can't use an HTML table.
The table works by using line breaks (sort of), but the cells are quite ugly in markdown because it's one very long line of cell entries and multiple <br> tags. Ideally, I want to just have a raw table like this:
| Column1 | Column2 | Column3 |
| :---: | :--- | :---: |
| Item1 | [line1A] | [line1B] |
...where [line1A] and [line1B] represent lines of text with multiple <br> line breaks that I can edit individually. This makes my table more readable in markdown and I can edit just the single lines as needed.
For example, [line1A]: foo1<br>foo2<br>foo3
The rendered result should look like this:
| Column1 | Column2 | Column3 |
|---|---|---|
| Item1 | foo1 foo2 foo3 |
bar1 bar2 bar3 |
I want the referenced line of text to be in the same file as the table, but only visible in the table when rendered.
I've tried using <div> and [!INCLUDE] but I am not doing this right or it isn't working.
If I understand correctly what you want. You should write this :