Iannis Zannos,

Iannis Zannos wrote:
> Hello,
>
> when trying to export as html an example which contains org-mode headings,
> the example is not "quoted" in mono-space as it should be. Example:
>
> *1. Failing example: *
>
> --------------------------------
>
> This is a test of publishing an example which contains org mode code in
> html:
>
> #+BEGIN_EXAMPLE
> * test
> #+END_EXAMPLE
>
> End of test.
>
> --------------------------------
>
> *2. Workaround: *
>
> This works as expected, but only because the * headline is indented by 1
> character:
>
> --------------------------------
>
> This is a test of publishing an example which contains org mode code in
> html:
>
> #+BEGIN_EXAMPLE
>  * test
> #+END_EXAMPLE
>
> End of test.

The official solution (normally automatic[1] for Org code blocks) is to have a
"," inserted before the "*"; it is removed automatically when exporting.

Best regards,
  Seb

[1] Sometimes, the "," is not automatically inserted for me, though, when
TAB'ing.

-- 
Sebastien Vauban


Reply via email to