Skip to content

Commit 149e659

Browse files
author
jackmahoney
committed
shortcodes
1 parent 8d3a07b commit 149e659

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ build-shortcodes:
1717

1818
sync-shortcodes:
1919
aws s3 sync shortcodes/ s3://api-spec.mailslurp.com/shortcodes-github --exact-timestamps
20+
21+
publish: build-shortcodes sync-shortcodes

shortcodes.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ async function getGenBlocks(content: string, commentStart:string, commentEnd:str
9494
commentEnd: "//</gen>",
9595
highlight: "typescript",
9696
},
97+
{
98+
paths: await glob([join(__dirname, "/visualbasic/visualbasic/*.vb")]),
99+
commentStart: "'<gen>",
100+
commentEnd: "'</gen>",
101+
highlight: "vba",
102+
},
97103
];
98104
const blockMap: {[key:string]: { body: string; highlight: string} } = {};
99105
for (const useCase of useCases) {

0 commit comments

Comments
 (0)