markdown support for notes completed, element attributes are ignored, closes #365