git.iko.soy/typeable/pandoc
on rc/2.11.0.4 help sign in
65 lines 1.5 kB history raw
1Results marker can be hidden in block attributes (#3706)
3```
4pandoc -f org -t native
5#+BEGIN_SRC R :exports results :colnames yes
6 data.frame(Id = 1:3, Desc = rep("La",3))
7#+END_SRC
9#+CAPTION: Lalelu.
10#+LABEL: tab
11#+RESULTS:
12| Id | Desc |
13|----+------|
14| 1 | La |
15| 2 | La |
16| 3 | La |
17^D
18[Div ("tab",[],[])
19 [Table ("",[],[]) (Caption Nothing
20 [Plain [Str "Lalelu."]])
21 [(AlignDefault,ColWidthDefault)
22 ,(AlignDefault,ColWidthDefault)]
23 (TableHead ("",[],[])
24 [Row ("",[],[])
25 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
26 [Plain [Str "Id"]]
27 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
28 [Plain [Str "Desc"]]]])
29 [(TableBody ("",[],[]) (RowHeadColumns 0)
30 []
31 [Row ("",[],[])
32 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
33 [Plain [Str "1"]]
34 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
35 [Plain [Str "La"]]]
36 ,Row ("",[],[])
37 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
38 [Plain [Str "2"]]
39 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
40 [Plain [Str "La"]]]
41 ,Row ("",[],[])
42 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
43 [Plain [Str "3"]]
44 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
45 [Plain [Str "La"]]]])]
46 (TableFoot ("",[],[])
47 [])]]
48```
50```
51pandoc -f org -t native
52#+BEGIN_SRC R :exports none :colnames yes
53 data.frame(Id = 1:2, Desc = rep("La",2))
54#+END_SRC
56#+CAPTION: Lalelu.
57#+LABEL: tab
58#+RESULTS:
59| Id | Desc |
60|----+------|
61| 1 | La |
62| 2 | La |
63^D
64[]
65```