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/
10
10
For instance, to reformat an org-mode table, do the following:
11
11
#+BEGIN_SRC emacs-lisp
12
12
(let ((to-format
13
- "| Foo | Bar |
13
+ "
14
+ | Foo | Bar |
14
15
|-----+-----|
15
16
| 1 | 2 |
16
17
| 3 | 4 |"))
@@ -43,10 +44,15 @@ New formats can be added by adding them to `format-table-format-alist' at runtim
43
44
44
45
Currently only exporting/importing arrays of hashes is supported. For instance, that previous org table:
45
46
47
+ #+BEGIN_SRC emacs-lisp
48
+ (let ((to-format
49
+ "
46
50
| Foo | Bar |
47
51
|-----+-----|
48
52
| 1 | 2 |
49
- | 3 | 4 |
53
+ | 3 | 4 |"))
54
+ (format-table to-format 'org 'json))
55
+ #+END_SRC
50
56
51
57
Will render as:
52
58
#+BEGIN_SRC javascript
You can’t perform that action at this time.
0 commit comments