Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 801f435

Browse files
committed
fix(fusumarc): revert languages section
1 parent d299bc3 commit 801f435

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/fusuma/src/configs/babelrc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
function babelrc({ plugins = [], theme = 'default' } = {}) {
3+
function babelrc({ languages, plugins = [], theme = 'default' } = {}) {
44
return {
55
presets: [
66
[
@@ -28,7 +28,7 @@ function babelrc({ plugins = [], theme = 'default' } = {}) {
2828
[
2929
'prismjs',
3030
{
31-
languages: [],
31+
languages,
3232
plugins,
3333
theme,
3434
css: true,

samples/debug/.fusumarc.yml

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ slide:
1010
targetBlank: true
1111
showIndex: true
1212
isVertical: false
13+
code:
14+
languages:
15+
- javascript
16+
- cpp
17+
- python
1318
extends:
1419
js: main.js
1520
build:

0 commit comments

Comments
 (0)