diff --git a/src/model/comment.ml b/src/model/comment.ml index 2f2eb86103..dd0733a3dd 100644 --- a/src/model/comment.ml +++ b/src/model/comment.ml @@ -150,7 +150,7 @@ let extract_frontmatter docs : _ = List.fold_left (fun (fm_acc, content_acc) doc -> match doc.Location_.value with - | `Code_block (Some "frontmatter", content, None) -> + | `Code_block (Some "meta", content, None) -> (parse_frontmatter content.Location_.value :: fm_acc, content_acc) | _ -> (fm_acc, doc :: content_acc)) ([], []) docs