I'm wondering if anyone knows of a way to have a function (that I can bind to a key) that pastes the current text in the clipboard as a formatted org table?
Also as a bonus (since this is used to create as ingredients table for a cookbook) it would be great to be able to define the columns in advance so that the amount|type|ingredients are nicely separated. For example take this list
3/4 cup milk
2 tablespoons white vinegar
1 cup all-purpose flour
2 tablespoons white sugar
1 teaspoon baking powder
1/2 teaspoon baking soda
1/2 teaspoon salt
1 egg
2 tablespoons butter, melted
cooking spray
If I mark this as a region and issue org-table-create-or-convert-from-region
this is the result
| 3/4 | cup | milk | | | | | | |
| 2 | tablespoons | white | vinegar | (%or | better | yet | lemon | juice%) |
| 1 | cup | all-purpose | flour | | | | | |
| 2 | tablespoons | white | sugar | | | | | |
| 1 | teaspoon | baking | powder | | | | | |
| 1/2 | teaspoon | baking | soda | | | | | |
| 1/2 | teaspoon | salt | | | | | | |
| 1 | egg | | | | | | | |
| 2 | tablespoons | butter, | melted | | | | | |
| cooking | spray | | | | | | | |
As you can see it got the amount (1/2) and the unit (cup) right yet the actual ingredients is cut into several columns.
I don't really know how to deal with this. Is there a more intelligent way of auto directing the conversion to split it the correct way?