Skip to content

Commit b2eb86c

Browse files
authored
chore(cloudfront): fix example formatting in README (#30133)
Fix code formatting in README to make examples readable ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent e87f25e commit b2eb86c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-cloudfront/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ Additionally, you can load the function's code from a file using the `FunctionCo
539539

540540
If you set `autoPublish` to false, the function will not be automatically published to the LIVE stage when it’s created.
541541

542-
``ts
542+
```ts
543543
new cloudfront.Function(this, 'Function', {
544544
code: cloudfront.FunctionCode.fromInline('function handler(event) { return event.request }'),
545545
runtime: cloudfront.FunctionRuntime.JS_2_0,

0 commit comments

Comments
 (0)