Skip to content

Commit 05876e6

Browse files
committed
fix: format
1 parent 199aa0a commit 05876e6

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -405,13 +405,13 @@ static final String[] nonEmptyArray = {"these", "can", "change"};
405405

406406
**scope:范围**
407407

408-
非公有,非静态字段命名以 m 开头。
408+
非公有,非静态字段命名以 `m` 开头。
409409

410-
静态字段命名以 s 开头。
410+
静态字段命名以 `s` 开头。
411411

412-
公有非静态字段命名以 p 开头。
412+
公有非静态字段命名以 `p` 开头。
413413

414-
公有静态字段(全局变量)命名以 g 开头。
414+
公有静态字段(全局变量)命名以 `g` 开头。
415415

416416
例子:
417417

@@ -426,7 +426,7 @@ public class MyClass {
426426
}
427427
```
428428

429-
使用 1 字符前缀来表示作用范围,1 个字符的前缀必须小写,前缀后面是由表意性强的一个单词或多个单词组成的名字,而且每个单词的首写字母大写,其它字母小写,这样保证了对变量名能够进行正确的断句。
429+
使用 1 个字符前缀来表示作用范围,1 个字符的前缀必须小写,前缀后面是由表意性强的一个单词或多个单词组成的名字,而且每个单词的首写字母大写,其它字母小写,这样保证了对变量名能够进行正确的断句。
430430

431431
**Type:类型**
432432

@@ -828,9 +828,15 @@ public static byte[] bitmap2Bytes(Bitmap bitmap, CompressFormat format) {
828828

829829
```java
830830
/*
831-
* This is // And so /* Or you can
832-
* okay. // is this. * even do this. */
831+
* This is
832+
* okay.
833833
*/
834+
835+
// And so
836+
// is this.
837+
838+
/* Or you can
839+
* even do this. */
834840
```
835841

836842
注释不要封闭在由星号或其它字符绘制的框架里。

0 commit comments

Comments
 (0)