Modify change documentation file style

This commit is contained in:
2022-09-06 01:29:36 +08:00
parent eace4fed6d
commit 5eff2262c5
2 changed files with 2 additions and 10 deletions

View File

@@ -478,14 +478,6 @@ fun VariousClass.toAppClass(): Class<*>
"com.example.demo.DemoClass".toAppClass() "com.example.demo.DemoClass".toAppClass()
``` ```
为了美观,你可以把字符串用 `(` `)` 括起来。
> 示例如下
```kotlin
("com.example.demo.DemoClass").toAppClass()
```
你还可以创建一个 `VariousClass`,并转换为实体类。 你还可以创建一个 `VariousClass`,并转换为实体类。
`VariousClass` 会枚举所有设置的 `Class` 并最终获得第一个存在的 `Class` `VariousClass` 会枚举所有设置的 `Class` 并最终获得第一个存在的 `Class`
@@ -731,7 +723,7 @@ inline fun HookClass.hook(initiate: YukiMemberHookCreator.() -> Unit): YukiMembe
> 示例如下 > 示例如下
```kotlin ```kotlin
("com.example.demo.DemoClass").hook { "com.example.demo.DemoClass".hook {
// Your code here. // Your code here.
} }

View File

@@ -185,7 +185,7 @@ TestClass.hook {
> 示例如下 > 示例如下
```kotlin ```kotlin
("$packageName.TestClass").hook { "$packageName.TestClass".hook {
injectMember { injectMember {
// Your code here. // Your code here.
} }