Added auto setup with magic function for markdown