wmd editor for comments added and converted to directive