%% Enhancements to Matlab wordpress
% John Kitchin
% May 7, 2012
%
% I modified some of my wordpress matlab code to make some
% enhancements in the publishing process. Mostly I wanted some markup
% to make the blog posts a little nicer. For example, a markup to
% indicate a command, or to make sure a file can be downloaded, and to
% make tooltips on text.

%% a better command markup
% I wanted command references in the posts to have a link to some
% documentation of the command. there doesn't seem to be a systematic
% way to get the url to Matlab documentation, so I settled for a
% search on Matlab's site. See: :command:`fsolve`! Click on the link
% to search Matlab's website for it. All that from:
%%
% 
%  :command:`fsolve`


%% tooltips 
% :tooltip:`<Surprise! you just found a tooltip!> Hover on me!`. Here
% is the markup for a tooltip. At publish time I add a little
% javascript to the html to make this happen.
%%
% 
%  :tooltip:`<Surprise! you just found a tooltip!> Hover on me!`
% 


%% Warnings
% Sometimes warning text should be obvious! 
% 
% :warning:`Something can fail badly if you do that.`

%% Notes
% I also like to separate out notes about some things. :note:`You can also
% try this variation!`

%% where is the code?
% You can see the code at
% <https://github.com/johnkitchin/matlab-wordpress>.


% post_id = 55; %delete this line to force new post;
% permaLink = http://jkitchin-780.cheme.cmu.edu/blog/?p=55;
