diff --git a/README.md b/README.md
index 21470d9..3c5b932 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
Auto-generate meaningful commits in 1 second
Killing lame commits with AI 🤯🔫
- 🪩 Winner of GitHub 2023 HACKATHON
+ 🪩 Winner of GitHub 2023 HACKATHON
@@ -122,12 +122,12 @@ Create a `.env` file and add OpenCommit config variables there like this:
OCO_OPENAI_API_KEY=
OCO_OPENAI_MAX_TOKENS=
OCO_OPENAI_BASE_PATH=
-OCO_DESCRIPTION=
-OCO_EMOJI=
-OCO_MODEL=
+OCO_DESCRIPTION=
+OCO_EMOJI=
+OCO_MODEL=
OCO_LANGUAGE=
-OCO_MESSAGE_TEMPLATE_PLACEHOLDER=
-OCO_PROMPT_MODULE=
+OCO_MESSAGE_TEMPLATE_PLACEHOLDER=
+OCO_PROMPT_MODULE=
```
### Global config for all repos
@@ -251,10 +251,10 @@ is translated to :
git commit -m "${generatedMessage}" --no-verify
```
-To include a message in the generated message, you can utilize the template function! For instance:
+To include a message in the generated message, you can utilize the template function, for instance:
```sh
-oco '$msg #205’
+oco '#205: $msg’
```
> opencommit examines placeholders in the parameters, allowing you to append additional information before and after the placeholders, such as the relevant Issue or Pull Request. Similarly, you have the option to customize the OCO_MESSAGE_TEMPLATE_PLACEHOLDER configuration item, for example, simplifying it to $m!"
@@ -268,12 +268,14 @@ The `OCO_MESSAGE_TEMPLATE_PLACEHOLDER` feature in the `opencommit` tool allows u
#### Implementation Details
In our codebase, the implementation of this feature can be found in the following segment:
+
```javascript
commitMessage = messageTemplate.replace(
- config?.OCO_MESSAGE_TEMPLATE_PLACEHOLDER,
- commitMessage
+ config?.OCO_MESSAGE_TEMPLATE_PLACEHOLDER,
+ commitMessage
);
```
+
This line is responsible for replacing the placeholder in the `messageTemplate` with the actual `commitMessage`.
#### Usage