Fix code example formatting in best-practices article

Signed-off-by: Lajos Papp <lajos.papp@sequenceiq.com>
Merge pull request #8205 from sequenceiq/master

Fix code example formatting in best-practices article