bool ReadLegacyJsonManifest(WorkbookDocument document)
        {
            var manifestCell = document.FirstCell as CodeCell;

            if (manifestCell?.LanguageName != "json")
            {
                return(false);
            }

            ReadProperties(LegacyJsonWorkbookDocumentManifest.Read(manifestCell.Buffer.Value));

            document.RemoveCell(manifestCell);

            return(true);
        }
        bool ReadYamlManifest(WorkbookDocument document)
        {
            var manifestCell = document.FirstCell as YamlMetadataCell;

            if (manifestCell == null)
            {
                return(false);
            }

            Read(new StringReader(manifestCell.Buffer.Value));

            document.RemoveCell(manifestCell);

            return(true);
        }