Fix MD040 warnings
The following warnings are generated by using markdownlint analysis:
```
MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
```
Refer to markdown-lint [1] to fix MD040
[1]: https://github.com/updownpress/markdown-lint/blob/master/rules/040-fenced-code-language.md
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I3bcd15ed9ef26177daed8e5fdfe252e0d37f4ed0
diff --git a/docs/oem-extension-numbering.md b/docs/oem-extension-numbering.md
index 9afa33a..7575e9e 100644
--- a/docs/oem-extension-numbering.md
+++ b/docs/oem-extension-numbering.md
@@ -56,7 +56,7 @@
### OpenBMC OEM Cmd Codes
-```
+```c
/*
* This is the OpenBMC IANA OEM Number
*/
diff --git a/scripts/entity-example.md b/scripts/entity-example.md
index 4ca8924..abeb581 100644
--- a/scripts/entity-example.md
+++ b/scripts/entity-example.md
@@ -3,20 +3,20 @@
If your platform requires the entity container map, you can provide a json file
of the format:
-```
+```json
[
{
- "id" : 1,
- "containerEntityId" : 2,
- "containerEntityInstance" : 3,
- "isList" : false,
- "isLinked" : false,
- "entities" : [
- {"id" : 1, "instance" : 2},
- {"id" : 1, "instance" : 3},
- {"id" : 1, "instance" : 4},
- {"id" : 1, "instance" : 5}
- ]
+ "id": 1,
+ "containerEntityId": 2,
+ "containerEntityInstance": 3,
+ "isList": false,
+ "isLinked": false,
+ "entities": [
+ { "id": 1, "instance": 2 },
+ { "id": 1, "instance": 3 },
+ { "id": 1, "instance": 4 },
+ { "id": 1, "instance": 5 }
+ ]
}
]
```
@@ -25,7 +25,7 @@
The above json is identical to the original YAML documented below:
-```
+```text
# This record has:
# Container Entity Id and Container Entity Instance = (0x13, 0x81)
# Contained Entity Id and Contained Entity Instance = (0x0A, 0x1),