General purpose markdown parser for R.