LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 11-07-2019, 05:51 AM   #1
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Rep: Reputation: Disabled
How to preserve table structure when pasting into a post?


My posting here https://www.linuxquestions.org/quest...293/page2.html about the results of using the route -n command, has clear columns when I paste the tables into the edit box, but when displayed the columns are lost, making it difficult to understand.

How can I paste a table to keep the columns preserved when displayed?

Thanks
 
Old 11-07-2019, 06:37 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Put it within [code] tags.

While typing wrap it within [code][/code] tags, so that it appears like this:
Code:
this, is, data, from, my, table
   1,  2,    3,    4,  5,     6
Otherwise it looks like this:
this, is, data, from, my, table
1, 2, 3, 4, 5, 6

NOTE: It did NOT look like that in the normal typing dialog box, there are/were spaces between each successive number, just like used in the one put in the code tags. In fact, editing here later, those spaces still show in the edit form. They obviously get optimized out when it is just normal dialog versus within a code block.

Another option is to used Advanced edit mode, select the text, and the tools at the top of the window there is a # symbol which will do the wrapping of the text for you. There also should be a hint which shows to tell you this.

This is the same sort of thing for [url] tag which it appears you have used in your post here:
Quote:
Originally Posted by grumpyskeptic View Post
My posting here https://www.linuxquestions.org/quest...293/page2.html about the results of using the route -n command, has clear columns when I paste the tables into the edit box, but when displayed the columns are lost, making it difficult to understand.

How can I paste a table to keep the columns preserved when displayed?

Thanks

Last edited by rtmistler; 11-08-2019 at 06:42 AM.
 
Old 11-08-2019, 08:27 AM   #3
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
Thanks, the code tags do the job.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the differences between the normal symbol table, the dynamic symbol table, and the debugging symbol table? watchintv Linux - Software 5 10-22-2016 08:38 AM
[SOLVED] MySQL run SELECT on a table if column A form table 1 equals column A from table 2 robertjinx Linux - Software 1 01-15-2016 10:48 AM
[SOLVED] Can't preserve directory structure when copying files andrew.comly Linux - Server 10 12-14-2015 08:01 PM
[SOLVED] Preserve colors when copy/pasting from terminal it_tyyppi Linux - Desktop 14 05-04-2012 07:21 AM
How to Upgrade Redhat 3 to Redhat 5 and preserve data and file system structure J_U_D_E Red Hat 10 03-15-2012 07:58 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration