@Test public void testMarkdownConversion() { assertEquals("This is `my code`", convert("This is `my code`")); assertEquals("The `<thing>` element is the root of the descriptor.", convert("The `<thing>` element is the root of the descriptor.")); assertEquals("The `<project>` element is the root of the descriptor.", convert("The `&lt;project&gt;` element is the root of the descriptor.")); }
public static String convert(String html) { if(!StringUtils.isTagOutsideOfBackticks(html)) { return unescapeXml(html); } return unescapeJava(remark.convert(html)); }
MarkdownConverter { public static String convert(String html) { if(!StringUtils.isTagOutsideOfBackticks(html)) { return unescapeXml(html); } return unescapeJava(remark.convert(html)); } }
MarkdownConverter { public static String convert(String html) { if(!StringUtils.isTagOutsideOfBackticks(html)) { return unescapeXml(html); } return unescapeJava(remark.convert(html)); } private  MarkdownConverter(); }
MarkdownConverter { public static String convert(String html) { if(!StringUtils.isTagOutsideOfBackticks(html)) { return unescapeXml(html); } return unescapeJava(remark.convert(html)); } private  MarkdownConverter(); static String convert(String html); }
MarkdownConverter { public static String convert(String html) { if(!StringUtils.isTagOutsideOfBackticks(html)) { return unescapeXml(html); } return unescapeJava(remark.convert(html)); } private  MarkdownConverter(); static String convert(String html);  }