Adapt code samples for simple markdown