Skip to content

Commit 1bd0def

Browse files
committed
🔧 topmatter -> frontmatter
1 parent 7692f87 commit 1bd0def

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

myst_parser/config/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def __repr__(self) -> str:
263263
default=False,
264264
metadata={
265265
"validator": instance_of(bool),
266-
"help": "Convert a `title` field in the top-matter to a H1 header",
266+
"help": "Convert a `title` field in the front-matter to a H1 header",
267267
},
268268
)
269269

myst_parser/warnings_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MystWarnings(Enum):
1717
"""The render method is not implemented."""
1818

1919
MD_TOPMATTER = "topmatter"
20-
"""Issue reading top-matter."""
20+
"""Issue reading front-matter."""
2121
MD_DEF_DUPE = "duplicate_def"
2222
"""Duplicate Markdown reference definition."""
2323
MD_FOOTNOTE_DUPE = "footnote"

0 commit comments

Comments
 (0)