Skip to content

Commit 6146723

Browse files
committed
doc(theme-default)
1 parent 1128da6 commit 6146723

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/theme-default/documentation/theme-option.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The theme generator function only take one object as a parameter
88
{
99
"directory": {
1010
"path": "static/",
11-
"mapFilename": "```javascript\n(schema) => slug(schema.$id)\n```"
11+
"mapFilename": "(schema) => slug(schema.$id)"
1212
}
1313
}
1414
```
@@ -50,6 +50,4 @@ Function that takes a schema and yield a filename without the extension.
5050

5151

5252

53-
*Example*: ```javascript
54-
(schema) => slug(schema.$id)
55-
```
53+
*Example*: (schema) => slug(schema.$id)

packages/theme-default/schemas/theme-option.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"title": "Filename Mapper",
2727
"description":
2828
"Function that takes a schema and yield a filename without the extension.",
29-
"example": "```javascript\n(schema) => slug(schema.$id)\n```"
29+
"example": "(schema) => slug(schema.$id)"
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)