I would like to write something with numbered paragraphs - for those who know it the style should be the same of EGA. So instead of having something like
more content after the proof
I would like to have something like
2.1 blah blah
2.2 Theorem. blah blah
2.3 Proof. blah blah
2.4 more content after the proof
Is there a simple way to get this result?