File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ Emacs can access many RDBMS systems via their command-line utilities using SQLi/
1010For instance, to reformat an org-mode table, do the following:
1111#+BEGIN_SRC emacs-lisp
1212(let ((to-format
13- "| Foo | Bar |
13+ "
14+ | Foo | Bar |
1415|-----+-----|
1516| 1 | 2 |
1617| 3 | 4 |"))
@@ -43,10 +44,15 @@ New formats can be added by adding them to `format-table-format-alist' at runtim
4344
4445Currently only exporting/importing arrays of hashes is supported. For instance, that previous org table:
4546
47+ #+BEGIN_SRC emacs-lisp
48+ (let ((to-format
49+ "
4650| Foo | Bar |
4751|-----+-----|
4852| 1 | 2 |
49- | 3 | 4 |
53+ | 3 | 4 |"))
54+ (format-table to-format 'org 'json))
55+ #+END_SRC
5056
5157Will render as:
5258#+BEGIN_SRC javascript
You can’t perform that action at this time.
0 commit comments