MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / format

Method format

src/main/java/fieldbox/boxes/Box.java:719–727  ·  view source on GitHub ↗
(String documentation)

Source from the content-addressed store, hash-verified

717 }
718 return "";
719 }
720
721 @HiddenInAutocomplete
722 static public String format(String documentation) {
723 String doc = MarkdownToHTML.convert(documentation);
724 doc = doc.trim();
725 if (doc.startsWith("<p>") && doc.endsWith("</p>")) {
726 doc = doc.substring(0, doc.length() - 4).replaceFirst("<p>", "");
727 }
728 return doc;
729 }
730

Callers 15

assembleCompletionsMethod · 0.95
niFunction · 0.45
riFunction · 0.45
d3.min.jsFile · 0.45
BFunction · 0.45
raphael-min.jsFile · 0.45
feedbackMethod · 0.45
rMethod · 0.45
requestCommandsMethod · 0.45
formatDoubleMethod · 0.45
sendMethod · 0.45
sendAsChunkedMethod · 0.45

Calls 2

convertMethod · 0.95
lengthMethod · 0.45

Tested by

no test coverage detected