Implement result blocks
This commit is contained in:
parent
232c27327c
commit
f6f4646d45
8 changed files with 66 additions and 0 deletions
13
org/testdata/blocks.html
vendored
13
org/testdata/blocks.html
vendored
|
@ -1,3 +1,6 @@
|
|||
<pre class="example">
|
||||
some results without a block
|
||||
</pre>
|
||||
<figure>
|
||||
<div class="src src-bash">
|
||||
<div class="highlight">
|
||||
|
@ -23,6 +26,16 @@ a source block without a language
|
|||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="src src-bash">
|
||||
<div class="highlight">
|
||||
<pre>
|
||||
echo a source block with results
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<pre class="example">
|
||||
a source block with results
|
||||
</pre>
|
||||
<pre class="example">
|
||||
an example block with
|
||||
multiple lines including
|
||||
|
|
11
org/testdata/blocks.org
vendored
11
org/testdata/blocks.org
vendored
|
@ -1,3 +1,6 @@
|
|||
#+RESULTS:
|
||||
: some results without a block
|
||||
|
||||
#+CAPTION: block caption
|
||||
#+BEGIN_SRC bash :results raw
|
||||
echo "a bash source block"
|
||||
|
@ -13,6 +16,14 @@ hello
|
|||
a source block without a language
|
||||
#+END_SRC
|
||||
|
||||
|
||||
#+BEGIN_SRC bash
|
||||
echo a source block with results
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: a source block with results
|
||||
|
||||
#+BEGIN_EXAMPLE foo bar baz
|
||||
an example block with
|
||||
multiple lines including
|
||||
|
|
11
org/testdata/blocks.pretty_org
vendored
11
org/testdata/blocks.pretty_org
vendored
|
@ -1,3 +1,6 @@
|
|||
#+RESULTS:
|
||||
: some results without a block
|
||||
|
||||
#+CAPTION: block caption
|
||||
#+BEGIN_SRC bash :results raw
|
||||
echo "a bash source block"
|
||||
|
@ -13,6 +16,14 @@ hello
|
|||
a source block without a language
|
||||
#+END_SRC
|
||||
|
||||
|
||||
#+BEGIN_SRC bash
|
||||
echo a source block with results
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: a source block with results
|
||||
|
||||
#+BEGIN_EXAMPLE foo bar baz
|
||||
an example block with
|
||||
multiple lines including
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue