Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions source/specifications/inline-script-metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ metadata:
In circumstances where there is a discrepancy between the text specification
and the regular expression, the text specification takes precedence.

The regular expression intentionally matches greedily, using the last possible
ending line within an uninterrupted sequence of valid embedded content lines.
This permits a standalone ``///`` within embedded content, as in the C# example
above; non-greedy matching would truncate that example. Consequently, apparent
blocks separated only by valid embedded content lines, including ``#``, are
matched as one block, with intervening delimiters included as content. An actual
blank line separates blocks.

Tools MUST NOT read from metadata blocks with types that have not been
standardized by this specification.

Expand Down