summaryrefslogtreecommitdiff
path: root/src/main/java/org/javacs/TipFormatter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/javacs/TipFormatter.java')
-rw-r--r--src/main/java/org/javacs/TipFormatter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/javacs/TipFormatter.java b/src/main/java/org/javacs/TipFormatter.java
index 723987b..642ec23 100644
--- a/src/main/java/org/javacs/TipFormatter.java
+++ b/src/main/java/org/javacs/TipFormatter.java
@@ -60,6 +60,7 @@ class TipFormatter {
replaceNodes(doc, "i", contents -> String.format("*%s*", contents));
replaceNodes(doc, "b", contents -> String.format("**%s**", contents));
replaceNodes(doc, "pre", contents -> String.format("`%s`", contents));
+ replaceNodes(doc, "code", contents -> String.format("`%s`", contents));
return print(doc);
}