Inline code in the docs - the correct way

Jakub Łabaj uaaabbjjkl at gmail.com
Thu Feb 1 13:10:28 UTC 2018


I can see that ddoc is a pretty hot topic here ;)

On Thursday, 1 February 2018 at 01:27:43 UTC, Adam D. Ruppe wrote:
> To give you a quick answer, the tide is going toward ``. You 
> should probably just use it in most cases as long as the code 
> fits on a single line. If it is a multi-line sample, use ddoc's 
> `---` brackets or a documented unittest instead.

Thank you for the answer and very thorough explanation. Seems 
like the Wiki contains up-to-date information then.


More information about the Digitalmars-d mailing list