On 2014-07-06 20:03 York Zhao wrote: > Hi list, > > I just noticed a problem that org-mode indentation gets messed up after > "example" block. Here is ECM: > > #+STARTUP: indent > > * Level one > ** Level two > Indentation is right. > > #+BEGIN_EXAMPLE > * Example at level one > #+END_EXAMPLE > > Indentation is wrong.
The asterisk followed by a space followed by text in your example block is recognized by org as a headline. So org thinks everything under that headline is the body of the headline. You can fix this by not letting "* Example at level one" start at the beginning of the line, but instead indent it by one or more spaces or prefix it with some other character(s). HTH, -- Alexander Baier