Skip to content

Commit cf14036

Browse files
use RevealAwesoMD for more awsomeness
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
1 parent de58991 commit cf14036

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

package-common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@types/reveal.js": "^4.4.8",
1818
"reveal.js": "^5.1.0",
1919
"reveal.js-mermaid-plugin": "^11.4.1"
20+
"revealjs-awesomd": "github:opf/revealjs-awesoMD"
2021
},
2122
"devDependencies": {
2223
"@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
import RevealMermaid from 'reveal.js-mermaid-plugin/plugin/mermaid/mermaid'
3737
@@ -102,7 +102,7 @@ onMounted(async () => {
102102
})
103103
104104
reveal = new Reveal(unref(revealContainer), {
105-
plugins: [RevealMarkdown, RevealHighlight, RevealMermaid]
105+
plugins: [RevealAwesoMD, RevealHighlight, RevealMermaid]
106106
})
107107
108108
await reveal.initialize({

src/css/variables.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import '../../node_modules/revealjs-awesomd/dist/css/alerts.css';
12
/* color */
23
:root {
34
--code-color: #c1798b;

0 commit comments

Comments
 (0)