The following example: * Example #+begin_example hello world #+end_example #+begin_example * hello world #+end_example exports an HTML file where the second "hello word" is interpreted as a header, ignoring that it is within begin_example. See below I am using org-mode version 9.0.3, under emacs-25.

Table of Contents

1 Example

hello world 1

#+beginexample

2 hello world 2

#+endexample

-- --dmg --- Daniel M. German http://turingmachine.org