public static CharSequence parseMarkdown(String input){
  CharSequence output=Html.fromHtml(processor.markdownToHtml(EmojiParser.parseEmojis(input.trim())));
  if (output.length() >= 2)   output=output.subSequence(0,output.length() - 2);
  return output;
}

public static CharSequence parseMarkdown ( String input ) { CharSequence output = Html . fromHtml ( processor . markdownToHtml ( EmojiParser . parseEmojis ( input . trim ( ) ) ) ) ; if ( output . length ( ) >= 2 ) output = output . subSequence ( 0 , output . length ( ) - 2 ) ; return output ; }
parses formatted markdown and returns it as styled charsequence
