I want to write short code in comment like:
function ngWrap($scope, fn) { return function() { var args = [].slice.call(arguments); if (!$scope.$$phase) { fn.apply(null, args); } else { return $scope.$apply(function() { fn.apply(null, args); }); } };}
But when I put code in backticks, the newlines are removed when rendered. How can I insert code into comment, like on this answer?