Generates gitbook chapters and sections from a given markdown file.