 +                        sb.append(")")
 +                        renderCommentString(null, null, sb, child.commentString)
 +                        sb.append("<br>")
-+                    }
+                     }
+-                    is LuaDocTypeDef -> {
+-                        flushDocString()
+-                        renderTypeDef(sb, child, tyRenderer)
 +                }
 +                is LuaDocClassDef -> renderClassDef(sb, child)
 +                is LuaDocFieldDef -> renderFieldDef(sb, child)
 +                is LuaDocOverloadDef -> renderOverload(sb, child)
 +                is LuaDocTypeDef -> renderTypeDef(sb, child)
 +                is LuaDocSeeRefTag -> renderSee(sb, child)
-                 else -> {
-                     val elementType = child.node.elementType
-                     if (elementType === LuaDocTypes.STRING) {
-@@ -71,146 +118,71 @@ fun renderComment(sb: StringBuilder, comment: LuaComment?, tyRenderer: ITyRender
++                else -> {
++                    val elementType = child.node.elementType
++                    if (elementType === LuaDocTypes.STRING) {
++                        sb.append(markdownToHtml(child.text))
+                     }
+-                    is LuaDocFieldDef -> {}
+-                    is LuaDocSeeRefTag -> {}
+-                    is LuaDocParamDef -> {}
+-                    is LuaDocReturnDef -> {}
+-                    is LuaDocOverloadDef -> {}
+                 }
              }
              child = child.nextSibling
          }
+-        flushDocString()
 -        sb.append("</div>")
 -
 -        val sections = StringBuilder()

         var child: PsiElement? = comment.firstChild
-
-        sb.append("<div class='content'>")
         while (child != null) {
             when (child) {
-                is LuaDocClassDef -> renderClassDef(sb, child, tyRenderer)
-                is LuaDocTypeDef -> renderTypeDef(sb, child, tyRenderer)
-                is LuaDocFieldDef -> {}
-                is LuaDocSeeRefTag -> {}
-                is LuaDocParamDef -> {}
-                is LuaDocReturnDef -> {}
-                is LuaDocOverloadDef -> {}
+                is LuaDocParamDef -> {
+                    renderDocParam(sb, child)
+                    sb.append("<br>")

     }
 }
-- 
2.16.2.windows.1

