Adding Sphinx markup for note/warning blocks.