inline makes sense if it is _in_ another line.   Otherwise I'd always use a code-block.

They render quite differently so it kind of depends which you think looks better.  I personally thing inline-literals with nothing else on the line look really ugly.