html: Implement source block :exports parameter
This commit is contained in:
parent
efe1c4eb07
commit
7e69931976
5 changed files with 48 additions and 2 deletions
3
org/testdata/blocks.html
vendored
3
org/testdata/blocks.html
vendored
|
@ -37,6 +37,9 @@ echo a source block with results
|
|||
a source block with results
|
||||
</pre>
|
||||
<pre class="example">
|
||||
a source block that only exports results
|
||||
</pre>
|
||||
<pre class="example">
|
||||
an example block with
|
||||
multiple lines including
|
||||
|
||||
|
|
14
org/testdata/blocks.org
vendored
14
org/testdata/blocks.org
vendored
|
@ -24,6 +24,20 @@ echo a source block with results
|
|||
#+RESULTS:
|
||||
: a source block with results
|
||||
|
||||
#+BEGIN_SRC bash :exports none
|
||||
echo a source block with results that is not exported
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: a source block with results that is not exported
|
||||
|
||||
#+BEGIN_SRC bash :exports results
|
||||
echo a source block that only exports results
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: a source block that only exports results
|
||||
|
||||
#+BEGIN_EXAMPLE foo bar baz
|
||||
an example block with
|
||||
multiple lines including
|
||||
|
|
14
org/testdata/blocks.pretty_org
vendored
14
org/testdata/blocks.pretty_org
vendored
|
@ -24,6 +24,20 @@ echo a source block with results
|
|||
#+RESULTS:
|
||||
: a source block with results
|
||||
|
||||
#+BEGIN_SRC bash :exports none
|
||||
echo a source block with results that is not exported
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: a source block with results that is not exported
|
||||
|
||||
#+BEGIN_SRC bash :exports results
|
||||
echo a source block that only exports results
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: a source block that only exports results
|
||||
|
||||
#+BEGIN_EXAMPLE foo bar baz
|
||||
an example block with
|
||||
multiple lines including
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue