$(document).ready(function(){

	/**
	 * @name: formatPostContent()
	 * @author: Myles Enriquez
	 * @date: 20160125
	 * @description: Adds bootstrap syntax to elements within post to make a post responsive.
	 * This is needed because markdown does not have content formatting capabilities.
	 *
	 * @params: null
	 * @returns: null
	 */
	function formatPostContent() {
		// Each li contains a line break
		$('#postcontent li').each(function(){
			$(this).after('<hr/>');
		});

		// Each li has a class of 'row'
		$('#postcontent li').each(function(){
			$(this).addClass('row');
		});

		// Each p inside of a li contains a class of 12 for xs devices and 6 for medium devices
		$('#postcontent li p').each(function(){
			$(this).addClass('col-xs-12 col-md-6');
		});
	}
	formatPostContent();


	 /**
	 * @name: backToTopButton()
	 * @author: Myles Enriquez
	 * @date: 20160216
	 * @description: Adds a back to top button when user scrolls down on page.
	 *
	 * @params: null
	 * @returns: null
	 */
	function backToTopButton() {
		var offset = 300, // how many pixels scrolled until back to top btn appears
		offset_opacity = 1200,
		scroll_top_duration = 700,
		$back_to_top = $('.cd-top');

		// Hide or show the "back to top" button
		$(window).scroll(function(){
			$(this).scrollTop() > offset ? $back_to_top.addClass('cd-is-visible') : $back_to_top.removeClass('cd-is-visible cd-fade-out');
			if( $(this).scrollTop() > offset_opacity ) {
				$back_to_top.addClass('cd-fade-out');
			}
		});

		// Ease into scroll top
		$back_to_top.on('click', function(event) {
			event.preventDefault();
			$('body,html').animate({
				scrollTop: 0,
				}, scroll_top_duration
			);
		});
	}
	backToTopButton();



});

@@ -785,16 +785,604 @@
 ent();%0A%0A
+%09/**%0A%09 * @name: formatPostContent()%0A%09 * @author: Myles Enriquez%0A%09 * @date: 20160217%0A%09 * @description: Adds custom tip styling to any paragraph containing a tip. Needed because there is no syntax for writing%0A%09 * tips in markdown.%0A%09 *%0A%09 * @params: null%0A%09 * @returns: null%0A%09 */%0A%09 function addTipStyling() %7B%0A%09 %09%09$('#postcontent li p').each(function()%7B%0A%09 %09%09%09var paragraphContent = $(this).html();%0A%09 %09%09%09var searchFor = %22TIP%22;%0A%0A%09 %09%09%09if(paragraphContent.toUpperCase().substring(0, searchFor.length) === searchFor ) %7B%0A%09 %09%09%09%09$(this).addClass('tip-styling');%0A%09 %09%09%09%7D%0A%0A%09 %09%09%7D);%0A%09 %7D%0A%09 addTipStyling();%0A%0A
 %0A%09 /**%0A%09
@@ -2285,15 +2285,12 @@
 tton();%0A
-%0A%0A%0A
 %7D);%0A

Add tip search/styling functionality.