Skip to content

Commit

Permalink
scraps: exporting a ditaa example
Browse files Browse the repository at this point in the history
  • Loading branch information
eschulte committed Jul 19, 2011
1 parent 1db3d5e commit f837536
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions scraps.org
Expand Up @@ -3,6 +3,34 @@
#+STYLE: <link rel="stylesheet"href="data/stylesheet.css"type="text/css">

* tests and examples
** exporting a ditaa example

#+begin_src ditaa :file blue.png :cmdline -r
/---------------\
| test |
| {cBLU} |
\---------------/
#+end_src

#+results:
[[file:blue.png]]

** including noweb refs w/o last newline
#+begin_src sh :noweb yes
<<my-name>> |\
<<capitalize-name>>
#+end_src

#+source: my-name
#+begin_src sh
echo "eric schulte"
#+end_src

#+source: capitalize-name
#+begin_src sh
sed 's/^e/E/;s/ s/ S/'
#+end_src

** simple sbe example

| 1 |
Expand Down

0 comments on commit f837536

Please sign in to comment.