Vidux
Vidux

Reputation: 303

Xcode 11 comments formatting

I am looking for pretty simple functionality how to format my comments (basically for internal documentation). Before f.e. for text bolding two asterisks from for sides would work, for italic text single quotes would work (``). Now it seems that they changed it and I can't find the documentation for it. Does anyone faced the same problem?

Upvotes: 2

Views: 1817

Answers (2)

Ecem
Ecem

Reputation: 1

You can use "MARK: " keyword for the comments.

For example:

//MARK: Height constant

let height = heightSlider.value

Upvotes: -2

Vidux
Vidux

Reputation: 303

For future adventurers, this is the answer for my question: What are the new documentation commands available in Xcode 5? it includes: @bfor bold text, @a for italic and etc.

Upvotes: 2

Related Questions