tkaczanowski

asciidoc + slidy

Dec 23rd, 2011
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | None | 0 0
  1. asciidoc --backend slidy -a icons -o target/target.html source.txt
  2.  
  3. for file in `dir -d *.txt` ; do
  4.     echo $file
  5.     asciidoc --backend slidy -a icons -o target/$file.html $file
  6. done
  7.  
  8.  
  9. source.txt
  10.  
  11. Some Title
  12. ==========
  13. :author:    Tomek Kaczanowski
  14. :copyright: MyCompany
  15. :backend:   slidy
  16. :max-width: 45em
  17. :data-uri:
  18. :icons:
  19.  
  20. Introduction here
  21.  
  22. image:images/some_image.jpg[]
  23.  
  24. Slide A
  25. -------
  26. * point A
  27. ** point A.1
  28. * point B
  29.  
  30. Slide B
  31. -------
  32. .Some cool image
  33. image:images/cool_image.jpg[]
  34.  
  35. * point A
  36. ** point A.1
  37. * point B
Advertisement
Add Comment
Please, Sign In to add comment