[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Syntax Proposal: Multi-line Table Cells/Text Wrapping
From: |
Atlas Cove |
Subject: |
Syntax Proposal: Multi-line Table Cells/Text Wrapping |
Date: |
Wed, 17 Mar 2021 20:29:56 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
Hello!
Sorry to barge in with such a big request as someone entirely new, but I have a
feature proposal that I'd to discuss.
I'd like to propose an addition to the table syntax that would allow for text
wrapping in tables, I personally have myself managing
very large org tables, and having to scroll through them is often cumbersome.
As a result, I often yearn for greater control over how I format
my tables.
Allow me to give an example of the updated syntax I propose.
```
| Name | Description | Price |
|--------------+------------------------+-------|
| Orange Juice | Very Citrusy! Very \\ | 5.00 |
| | nice indeed! | |
| Grape Juice | It's like wine, but \\ | 6.00 |
| | you can have it all \\ | |
| | day! | |
```
As you can see, this is a lot more space-efficient than the current, vanilla
solution, especially if there's a large block of text.
```
| Name | Description | Price |
|--------------+----------------------------------------------+-------|
| Orange Juice | Very Citrusy! Very nice indeed! | 5.00 |
| Grape Juice | It's like wine, but you can have it all day! | 6.00 |
```
I *am* aware of table-mode's existence, however, I would prefer to work with
native org syntax, which often has a cleaner, less bloated HTML output.
Code-wise, the use of the '\\' symbol is only tentative, as I understand that
'\' has special meaning elsewhere in org's syntax, (I was even going to submit a
patch to add two special symbols somewhere down the line). '\\' (or whatever
symbol is decided on) would cause the org parser to concatenate the next line
into the outputted previous cell, rendering the output of the first example
identical to the second example.
Please tell me what you think of this proposal.
- Syntax Proposal: Multi-line Table Cells/Text Wrapping,
Atlas Cove <=