Open
Description
Description
If you use a multiline HTML comment with @Step
s inside, those steps will be rendered in docs:
<!--
This text will not be rendered in docs.
@Step {
This text **will** be rendered in docs.
}
--!>
Checklist
- If possible, I've reproduced the issue using the
main
branch of this package. - This issue hasn't been addressed in an existing GitHub issue.
Expected Behavior
I would expect that everything inside <!-- -->
is omitted from rendering.
Actual behavior
Instead, @Step
s are rendered.
Steps To Reproduce
Put the following in any tutorial to see that the step will be rendered:
<!--
This text will not be rendered in docs.
@Step {
This text **will** be rendered in docs.
}
--!>
Swift-DocC Version Information
Xcode 15.4
Swift Compiler Version Information
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0