You can do something like that with [reStructuredText's transitions] (http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#transitions).
That said, I think a transition is not necessary here.