Format code in markdown file