As Markup Formatting Reference states, you can use *
,+
or -
characters as prefixes for markup keywords. For example, take a look at Parameter
:
Now, when I try to use *
, markup doesn't work:
/**
* Parameter piece: A piece to validate.
* Parameter matchBlock: Called only if necessary.
*/
init(piece: MSPiece?, matchBlock: MatchBlock) { ... }
But if we put +
or -
instead of *
,
/**
+ Parameter piece: A piece to validate.
- Parameter matchBlock: Called only if necessary.
*/
init(piece: MSPiece?, matchBlock: MatchBlock) { ... }
The documentation will be correct:
Why doesn't *
work? It would be actually cool to use an asterisk because /** */
comment stats and ends with asterisk and it would be really neat.
It was a bug and it's fixed in Xcode 10.0.