Skip to content

Commit 6d38aef

Browse files
committed
use RevealAwesoMD for more awsomeness
1 parent 80791b9 commit 6d38aef

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package-common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
},
1616
"dependencies": {
1717
"@types/reveal.js": "^4.4.8",
18-
"reveal.js": "^5.1.0"
18+
"reveal.js": "^5.1.0",
19+
"revealjs-awesomd": "github:opf/revealjs-awesoMD"
1920
},
2021
"devDependencies": {
2122
"@babel/eslint-parser": "^7.24.5",

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
} from '@ownclouders/web-pkg'
3232
import { Resource } from '@ownclouders/web-client/src'
3333
import Reveal from 'reveal.js'
34-
import RevealMarkdown from 'reveal.js/plugin/markdown/markdown'
34+
import RevealAwesoMD from 'revealjs-awesomd/plugin/awesoMD/awesoMD'
3535
import RevealHighlight from 'reveal.js/plugin/highlight/highlight'
3636
3737
import 'reveal.js/dist/reveal.css'
@@ -101,7 +101,7 @@ onMounted(async () => {
101101
})
102102
103103
reveal = new Reveal(unref(revealContainer), {
104-
plugins: [RevealMarkdown, RevealHighlight]
104+
plugins: [RevealAwesoMD, RevealHighlight]
105105
})
106106
107107
await reveal.initialize({

src/css/variables.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* color */
1+
@import '../../node_modules/revealjs-awesomd/dist/css/alerts.css'; /* color */
22
:root {
33
--code-color: #c1798b;
44
--code-bg-color: #f9f2f4;

0 commit comments

Comments
 (0)