Skip to content

Commit 96be386

Browse files
committed
chore: configure ember-showdown-shiki
1 parent 669dd79 commit 96be386

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

config/environment.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,25 @@ module.exports = function (environment) {
3333
sourceRepo: 'https://github.com/ember-learn/cli-guides',
3434
sourceBranch: 'main',
3535
},
36+
37+
'ember-showdown-shiki': {
38+
theme: 'github-dark',
39+
languages: [
40+
'bash',
41+
'css',
42+
'http',
43+
'javascript',
44+
'json',
45+
'json5',
46+
'ruby',
47+
'scss',
48+
'yaml',
49+
'typescript',
50+
'glimmer-js',
51+
'glimmer-ts',
52+
'handlebars',
53+
],
54+
},
3655
};
3756

3857
if (environment === 'development') {

config/fastboot.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = function () {
2+
return {
3+
buildSandboxGlobals(defaultGlobals) {
4+
return Object.assign({}, defaultGlobals, {
5+
atob: atob,
6+
});
7+
},
8+
};
9+
};

0 commit comments

Comments
 (0)