Added safe mode to markdown