File tree 4 files changed +91
-0
lines changed 4 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ # mdx-deck basic template
3
+
4
+ This was generated with [ mdx-deck] [ ] 's ` npm init deck ` command.
5
+
6
+ ## Development
7
+
8
+ To run the presentation deck in development mode:
9
+
10
+ ``` sh
11
+ npm start
12
+ ```
13
+
14
+ Edit the [ ` deck.mdx ` ] ( deck.mdx ) file to get started.
15
+
16
+ ## Exporting
17
+
18
+ To build the presentation deck as static HTML:
19
+
20
+ ``` sh
21
+ npm run build
22
+ ```
23
+
24
+ To export a PDF:
25
+
26
+ ``` sh
27
+ npm run pdf
28
+ ```
29
+
30
+ To export an image of the title slide:
31
+
32
+ ``` sh
33
+ npm run image
34
+ ```
35
+
36
+ For more documentation see the [ mdx-deck] [ ] repo.
37
+
38
+ [ mdx-deck ] : https://github.com/jxnblk/mdx-deck
Original file line number Diff line number Diff line change
1
+ import { Head } from ' mdx-deck'
2
+
3
+ export { default as theme } from ' ./theme'
4
+
5
+ <Head >
6
+ <title >Presentation Title</title >
7
+ </Head >
8
+
9
+ # Hello
10
+
11
+ ---
12
+
13
+ ## Edit this file
14
+
15
+ To create your presentation
16
+
17
+ ``` notes
18
+ - Create speaker notes in fenced code blocks
19
+ ```
20
+
21
+ ---
22
+
23
+ <https://github.com/jxnblk/mdx-deck>
Original file line number Diff line number Diff line change
1
+ {
2
+ "private" : true ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " Deck created with mdx-deck" ,
5
+ "scripts" : {
6
+ "start" : " mdx-deck deck.mdx" ,
7
+ "build" : " mdx-deck build deck.mdx" ,
8
+ "pdf" : " mdx-deck pdf deck.mdx" ,
9
+ "image" : " mdx-deck screenshot deck.mdx" ,
10
+ "help" : " mdx-deck"
11
+ },
12
+ "keywords" : [],
13
+ "author" : " Brent Jackson" ,
14
+ "license" : " MIT" ,
15
+ "devDependencies" : {
16
+ "mdx-deck" : " ^1.6.7"
17
+ }
18
+ }
Original file line number Diff line number Diff line change
1
+ import theme from 'mdx-deck/themes'
2
+
3
+ export default {
4
+ ...theme ,
5
+
6
+ // Customize your presentation theme here.
7
+ //
8
+ // Read the docs for more info:
9
+ // https://github.com/jxnblk/mdx-deck/blob/master/docs/theming.md
10
+ // https://github.com/jxnblk/mdx-deck/blob/master/docs/themes.md
11
+
12
+ }
You can’t perform that action at this time.
0 commit comments