From baf2efc4ca77ca79b3488fda9f23a6581848826e Mon Sep 17 00:00:00 2001 From: Brian O'Donnell Date: Thu, 23 Apr 2015 16:57:18 -0400 Subject: [PATCH] Markdown formatting --- pod_feeder.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pod_feeder.pl b/pod_feeder.pl index a0631a6..52062ba 100755 --- a/pod_feeder.pl +++ b/pod_feeder.pl @@ -117,11 +117,12 @@ sub publish_feed_items { foreach my $update ( @updates ){ my $content = $update->{'hashtags'}; + # to hyperlink the title or not to hyperlink the title... if( $params{'raw_link'} ){ - $content = $update->{'title'} . "\n" . $update->{'link'} . "\n" . $content; + $content = '### ' . $update->{'title'} . "\n" . $update->{'link'} . "\n" . $content; } else { - $content = '[' . $update->{'title'} . '](' . $update->{'link'} . ")\n" . $content; + $content = '### [' . $update->{'title'} . '](' . $update->{'link'} . ")\n" . $content; } print "Publishing $params{'feed_id'}\t$update->{'guid'}\n";