diff --git a/files/en-us/mdn/writing_guidelines/page_structures/page_types/css_function_page_template/index.md b/files/en-us/mdn/writing_guidelines/page_structures/page_types/css_function_page_template/index.md index 11b1418fedb16bd..f8c8b817998b7c4 100644 --- a/files/en-us/mdn/writing_guidelines/page_structures/page_types/css_function_page_template/index.md +++ b/files/en-us/mdn/writing_guidelines/page_structures/page_types/css_function_page_template/index.md @@ -14,7 +14,7 @@ browser-compat: css.functions.NameOfTheFunction > **Page front matter:** > > The front matter at the top of the page is used to define "page metadata". -> The values should be updated appropriately for the particular function. +> The values should be updated appropriately for the particular function. Note the presence (or absence) of parenthesis. > > ```md > --- @@ -133,7 +133,7 @@ This is an optional section to include a description of the function and explain Not all functions have formal syntax: if a function doesn't, omit this whole section. -`\{CSSSyntax}}` +`\{{CSSSyntax}}` _To use this macro, remove the backticks and backslash in the markdown file._ diff --git a/files/en-us/mdn/writing_guidelines/page_structures/page_types/css_property_page_template/index.md b/files/en-us/mdn/writing_guidelines/page_structures/page_types/css_property_page_template/index.md index 70e973e68050f6a..cd356d6f18edbde 100644 --- a/files/en-us/mdn/writing_guidelines/page_structures/page_types/css_property_page_template/index.md +++ b/files/en-us/mdn/writing_guidelines/page_structures/page_types/css_property_page_template/index.md @@ -64,7 +64,7 @@ browser-compat: css.properties.NameOfTheProperty > **Other macros in the page** > > - Formal syntax section: The content for the _Formal syntax_ section is generated using the `\{{CSSSyntax}}` macro. This macro fetches data from the specifications using the [@webref/css npm package](https://www.npmjs.com/package/@webref/css). -> - Formal definition section: The content for the _Formal definition_ section is generated using the `\{{CSSInfo}}` macro, respectively. For this section to have data, you must ensure an appropriate entry has been filled in for the corresponding property in the [properties.json](https://github.com/mdn/data/blob/main/css/properties.json) data file in the `mdn/data` repository. See the [Properties](https://github.com/mdn/data/blob/main/css/properties.md) page for more information. +> - Formal definition section: The content for the _Formal definition_ section is generated using the `\{{CSSInfo}}` macro. For this section to have data, you must ensure an appropriate entry has been filled in for the corresponding property in the [properties.json](https://github.com/mdn/data/blob/main/css/properties.json) data file in the `mdn/data` repository. See the [Properties](https://github.com/mdn/data/blob/main/css/properties.md) page for more information. > - Specifications and Browser compatibility sections: The build tool automatically uses the `browser-compat` key-value pair from the page front matter to insert data into the _Specifications_ and _Browser compatibility_ sections (replacing the `\{{Specifications}}` and `\{{Compat}}` macros in those sections, respectively). > > Note that you may first need to create/update an entry for the property and its specification in our Browser compat data repo.