Skip to content

Commit

Permalink
Update code generation config.js
Browse files Browse the repository at this point in the history
Add support for Url generation
  • Loading branch information
const-cloudinary authored Mar 8, 2024
1 parent 701dcf0 commit b55218c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .code-generation/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ module.exports = {
video: '(new VideoTag(\'#publicID\'))',
media: '(new Media(\'#publicID\'))'
},
openUrlSyntaxString: {
image: '(new Image(\'#publicID\'))',
video: '(new Video(\'#publicID\'))',
media: '(new Media(\'#publicID\'))'
},
closeSyntaxString: ';'
},
openActionChar: '(',
Expand Down

0 comments on commit b55218c

Please sign in to comment.