Theming stuff in Drupal 8?
It seems to be similar to D7. Just use a render array:

$list = array('apples', 'peaches', 'pears');
$render_array = array(
  '#theme' =&gt; 'item_list',
  '#items' =&gt; $list,
  '#title' =&gt; t('Argument Information'),
);
return $render_array;


I searched '#theme' in core\modules to find examples. Not sure if this is the 'correct' way though?