[feature/markdown] fix some unnecessary code
[feature/markdown] same as previous commit