Improved markdown formatter to include github urls