File tree 2 files changed +13
-13
lines changed
compiler/src/dotty/tools/dotc/util
language-server/test/dotty/tools/languageserver
2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class ParsedComment(val comment: Comment) {
48
48
/**
49
49
* Renders this comment as markdown.
50
50
*
51
- * The different sections are formatted according to the maping in `knownTags`.
51
+ * The different sections are formatted according to the mapping in `knownTags`.
52
52
*/
53
53
def renderAsMarkdown : String = {
54
54
val buf = new StringBuilder
@@ -193,7 +193,7 @@ object ParsedComment {
193
193
case Nil =>
194
194
None
195
195
case items =>
196
- Some (s """ $title:
196
+ Some (s """ #### $title:
197
197
| ${fn(items)}
198
198
| """ .stripMargin)
199
199
}
Original file line number Diff line number Diff line change @@ -129,45 +129,45 @@ class HoverTest {
129
129
hoverContent(" [T, U](fizz: Int, buzz: String)(implicit ev: Boolean): Any" ,
130
130
""" Does something
131
131
|
132
- |Type Parameters:
132
+ |#### Type Parameters:
133
133
| - **T** A first type param
134
134
| - **U** Another type param
135
135
|
136
- |Parameters:
136
+ |#### Parameters:
137
137
| - **fizz** Again another number
138
138
| - **buzz** A String
139
139
| - **ev** An implicit boolean
140
140
|
141
- |Returns:
141
+ |#### Returns:
142
142
| - Something
143
143
|
144
- |Throws:
144
+ |#### Throws:
145
145
| - **java.lang.NullPointerException** if you're unlucky
146
146
| - **java.lang.InvalidArgumentException** if the argument is invalid
147
147
|
148
- |See Also:
148
+ |#### See Also:
149
149
| - java.nio.file.Paths#get()
150
150
|
151
- |Examples:
151
+ |#### Examples:
152
152
| - ```scala
153
153
| myFoo.bar[Int, String](0, "hello, world")
154
154
| ```
155
155
|
156
- |Usecases:
156
+ |#### Usecases:
157
157
| - ```scala
158
158
| def bar(fizz: Int, buzz: String): Any
159
159
| ```
160
160
|
161
- |Note:
161
+ |#### Note:
162
162
| - A note
163
163
|
164
- |Authors:
164
+ |#### Authors:
165
165
| - John Doe
166
166
|
167
- |Since:
167
+ |#### Since:
168
168
| - 0.1
169
169
|
170
- |Version:
170
+ |#### Version:
171
171
| - 1.0""" .stripMargin))
172
172
173
173
}
You can’t perform that action at this time.
0 commit comments