I cannot find a way to insert line breaks within a code block.

Skip to: New Posts  Last Post
Posted by Johannes
10/03/2018 2:24 pm
#1

Therefore I cannot use the code block to make a text-based table.

 

Last edited by Johannes (10/03/2018 3:57 pm)

 
Posted by seigneur
10/06/2018 3:03 am
#2

Such issues belong to the Test subforum - if we had one. Let's see how/if this forum software supports tt and pre.

inline tt:
Let's see how/if this forum software supports [tt]tt[/tt] and [tt]pre[/tt].

pre:
[pre]
Such issues bel
ong to the Test
subforum
[/pre]

 
Posted by seigneur
10/06/2018 3:05 am
#3

Neither is supported. New forum software must!

@Johannes
A way to do a text-based table would be with pre tags, but since we don't have it, just put it in plain text without tags.

Edit: Ah, but for that let's see if plain text works as desired. Text-based table using the tab key:

random        words
continue        to
several        lines

Result: Works when you do it in an external editor, but gets somewhat mangled upon pasting here.

Conclusion: Good support of the pre tag is highly desirable.

Last edited by seigneur (10/06/2018 3:21 am)

 
Posted by Johannes
10/07/2018 9:24 pm
#4

seigneur wrote:

@Johannes
A way to do a text-based table would be with pre tags, but since we don't have it, just put it in plain text without tags.

Thanks, that's exactly what I had intended to do and eventually did (two tables in this post). I tried originally to write the tables within code blocks in order to use a monospaced font, but the result obtained using the standard variable-spaced font was acceptable for a forum post.

 

Last edited by Johannes (10/07/2018 9:30 pm)

 


 
Main page
Login
Desktop format