Closed RoyiAvital closed 2 years ago
As only title
is handled special, we will treat title
as case insensitive. What this means though is that if we receive multiple entries with different casing: title
, Title
, TITLE
, etc., the last one will be what resolves to as a title.
Browsers already treat other metadata as generally case insensitive, so there is no need for us to handle others special. If a user doesn't want duplicate entries, they should use consistence casing.
As shown in https://github.com/facelessuser/MarkdownPreview/discussions/146, it is needed that the fields defined in front matter (Meta data related only) will be lowered before processed.
An example for reference: