I\'m writing unit tests for a model with an attribute that\'s interpreted as markdown. I\'d like to test that if the markdown is invalid, then the object is invalid - but i
If all text is markdown and vice versa, then I suppose one example of invalid markdown would be invalid text in the encoding that you are using, i.e. invalid UTF-8, invalid ASCII or invalid ISO-8859-1.