Skip to content

Commit 59a37d7

Browse files
committed
chore: Try using ejs from cdn
1 parent 6e214a3 commit 59a37d7

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

markdown-confluence-sync.config.cjs

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const ejs = await import('https://cdn.jsdelivr.net/npm/[email protected]/ejs.min.js');
2+
3+
export default {
4+
preprocessor: (content) => {
5+
// eslint-disable-next-line no-console
6+
console.log(content);
7+
const renderedContent = ejs.render(content, {});
8+
return renderedContent;
9+
},
10+
logLevel: "debug",
11+
};

0 commit comments

Comments
 (0)