diff --git a/README.md b/README.md
index 30397c35f..c0e927436 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
+
# Roborazzi
@@ -44,6 +45,7 @@ In the DroidKaigi 2023 app, Roborazzi was introduced from the early stages of de
+
# Try it out
@@ -234,6 +236,7 @@ compose-samples [here](https://github.com/takahirom/compose-samples/pull/1/files
+
# How to use
@@ -978,7 +981,7 @@ You can configure the following options in your `gradle.properties` file:
This option enables you to configure the behavior of Roborazzi. By default, all settings are set to false.
For additional configuration options, please refer to the 'Apply Roborazzi Gradle Plugin' section.
-```properties
+```
roborazzi.test.record=true
# roborazzi.test.compare=true
# roborazzi.test.verify=true
@@ -990,7 +993,7 @@ roborazzi.test.record=true
This option lets you set the resize scale for the image being recorded. The default value is 1.0.
-```properties
+```
roborazzi.record.resizeScale=0.5
```
@@ -998,7 +1001,7 @@ roborazzi.record.resizeScale=0.5
This setting allows you to specify the file path strategy for the recorded image. The default strategy is `relativePathFromCurrentDirectory`. If you choose `relativePathFromRoborazziContextOutputDirectory`, the file will be saved in the output directory specified by `RoborazziRule.Options.outputDirectoryPath`.
-```properties
+```
roborazzi.record.filePathStrategy=relativePathFromRoborazziContextOutputDirectory
```
@@ -1010,12 +1013,13 @@ This option enables you to define the naming strategy for the recorded image. Th
- If you choose `escapedTestPackageAndClassAndMethod`, the file name will be `com_example_MyTest.testMethod.png`.
- If you choose `testClassAndMethod`, the file name will be `MyTest.testMethod.png`.
-```properties
+```
roborazzi.record.namingStrategy=testClassAndMethod
```
+
# FAQ
@@ -1089,9 +1093,8 @@ By following these steps, you should be able to identify and resolve the issue c
**A:** This warning may occur with Gradle 7.5. Upgrade to Gradle 7.6.2 to resolve this issue. Change the distribution URL in `gradle-wrapper.properties`:
-```diff
--distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
-+distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip
+```
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip
```
### Q: Can I run Roborazzi with Bazel?
diff --git a/build.gradle b/build.gradle
index 1aa350852..5e0c803be 100644
--- a/build.gradle
+++ b/build.gradle
@@ -89,7 +89,7 @@ tasks.register("generateReadme") {
println("topic: $topic pattern: $pattern result: $result")
def generatedComment = ""
- def newTopicContent = "
\n$generatedComment\n${topic.content}\n<\\/div>"
+ def newTopicContent = "
\n\n$generatedComment\n${topic.content}\n<\\/div>"
newReadmeContent = pattern.matcher(newReadmeContent)
.replaceAll(newTopicContent)
}