Edit markdown for code