ox: implement additional #+INCLUDE markup
commit4ed554196bfbeb1b9a5e1f867c5108fbd05a5a62
authorAchim Gratz <Stromeko@Stromeko.DE>
Sat, 7 Jun 2014 09:54:02 +0000 (7 11:54 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Sat, 7 Jun 2014 16:02:52 +0000 (7 18:02 +0200)
tree3b611712abc2e89d5d746a03d8e946c1eb8ad2d2
parenta3745c375baba33ead78edac2515737cd8d0e78c
ox: implement additional #+INCLUDE markup

* lisp/ox.el (org-export-expand-include-keyword): Change parsing so
  that arbitrary blocks around the included content can be used.
  Content is not code-escaped unless it is a literal block, this
  applies to "src" and "example".
* doc/org.texi (Include files): Document the additional markup.
* testing/lisp/test-ox.el (test-org-export/expand-include): Add test
  for an #+INCLUDE with "html" and "center" markup.
* testing/examples/include.html: New file, used for testing
  "#+INCLUDE html".
doc/org.texi
lisp/ox.el
testing/examples/include.html [new file with mode: 0644]
testing/lisp/test-ox.el