simple markup processor with rspec tests