On 2010-09-08, Santa wrote:
> Hi,

> Is there a reason why a generic admonition block need to start with an
> empty line? For a note admonition one can do this:

>     .. note::
>        This is a note.

> But for e generic one this has to be done:

>     .. admonition:: And, by the way...

>        You can make up your own admonition too.

This is the default syntax for ReST directives, so maybe it's just
coincidence that it works without the blank line for specific
admonitions.

> Otherwise, an error about the block gets spit out. I am wondering if
> this is an expected behaviour and why?

I can only guess that this is intentional to make sure not to mix up
content and a possible continuation line of the title.

To be sure, ask at the docutils-users list.

Günter

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to