- It’s a custom plugin that enables slide in Quartz 4.
- built using remark.
- demo slide
- Slides are divided based on Markdown headings (
# to ######
, corresponding to<h1>–<h6>
) or horizontal rules (---
, corresponding to<hr>
)
- Runtime Slide
- Toggle slide - Press
cmd / ctrl
+s
- Start slide - Click the slide icon button
- Toggle slide - Press
- Footnote Anchors
- Navigate to the correct slide when clicked
- Only works when
enableSPA: false
inquart.config.ts
- Automatic Index Generation
- Content Alignment Option
- URL Parameters Options
Parameter Type Default Description slide boolean false
If start=true
is set, the slide starts automaticallyratio string 16:9
Slide aspect ratio 16:9
or4:3
scroll boolean false
Enable mouse scroll navigation touch boolean true
Enable touch navigation click boolean false
Enable click-based navigation startOnChange boolean true
Auto-start timer on slide change resetable boolean true
Allow timer reset enabled boolean true
Enable slide timer includePresenterNotes boolean true
Display presenter notes in the slide view tags boolean true
Display tags on the cover slide index boolean true
Displays the Table of Contents for the document on the second slide align string left
Horizontal alignment of slide content left
orcenter
- Keyboard shortcuts
- All of these shortcuts can also be seen during a presentation by pressing
H
or?
h
or?
: Toggle the help windowj
: Jump to next slidek
: Jump to previous slideb
: Toggle blackout modem
: Toggle mirrored mode.c
: Create a clone presentation on a new windowp
: Toggle PresenterModef
: Toggle Fullscreent
: Reset presentation timer<number> + <Return>
: Jump to slide<number>
- All of these shortcuts can also be seen during a presentation by pressing
- Presenter Notes
- To add presenter notes to a slide, insert a line with three question marks (
???
) between the slide content and the notes.- Everything before
???
will appear on the slide. - Everything after
???
will be shown only as presenter notes.
- Everything before
-
# Header Slide content ??? Presenter Notes
- To add presenter notes to a slide, insert a line with three question marks (
- You must complete all of the following steps for it to work.
Slide.tsx
->quartz/components/Slide.tsx
slide.inline.ts
->quartz/components/scripts/slide.inline.ts
slide.js
->quartz/static/scripts/slide.js
slide.scss
->quartz/components/styles/slide.scss
slide-custom.scss
->quartz/styles/custom.scss
- Instead of replacing or moving the file, the contents must be pasted into
custom.scss
- Instead of replacing or moving the file, the contents must be pasted into
import Slide from './Slide'
export{
...,
Slide
}
- Add this at the end of the file
export { mouseEnterHandler, clearActivePopover }
export const defaultContentPageLayout: PageLayout = {
// or export const defaultListPageLayout: PageLayout = {
left: [
Component.Flex({
components: [
...,
{ Component: Component.Slide() }
]
})
]
}
Component.Slide({
ratio: "16:9" | "4:3", // default 16:9
navigation: {
scroll: boolean, // default false
touch: boolean, // default true
click: boolean, // default false
},
timer: {
startOnChange: boolean, // default true
resetable: boolean, // default true
enabled: boolean, // default true
},
includePresenterNotes: boolean, // default true
tags: boolean, // default true
index: boolean, // default true
align: "left" | "center" // default left
}),
- Enjoy the Slide!