From 028b98e52243f445c6433706a500be72a99c7385 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Thu, 30 May 2024 15:16:56 -0400 Subject: [PATCH] fix: xml schema --- mrdocs.rnc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mrdocs.rnc b/mrdocs.rnc index 88ddc79d3..10ea93825 100644 --- a/mrdocs.rnc +++ b/mrdocs.rnc @@ -368,7 +368,8 @@ grammar BlockNode = ( Admonition | Brief | Code | Heading | ListItem | - Paragraph | Param | Returns | TParam | Throws ) + Paragraph | Param | Returns | TParam | Throws | + See | Precondition | Postcondition) Admonition = Paragraph Brief = element brief { TextNode * } @@ -387,6 +388,12 @@ grammar TParam = element tparam { attribute name { text } ?, TextNode * } + See = element see { + attribute class { text } ?, + TextNode * } + Precondition = element pre { TextNode * } + Postcondition = element post { TextNode * } + TextNode = ( Link | Styled | Text | Reference | Copied )