diff --git a/README.md b/README.md index 549466d16d..3238b58955 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,9 @@ Presentation slides for developers 🧑‍💻👩‍💻👨‍
-
+
Made possible by my Sponsor Program 💖
- +
@@ -93,7 +93,7 @@ This project is made possible by all the sponsors supporting my work:

- + Logos from Sponsors

diff --git a/demo/composable-vue/components/VueUse.vue b/demo/composable-vue/components/VueUse.vue index 535c5eadb7..6ea531107d 100644 --- a/demo/composable-vue/components/VueUse.vue +++ b/demo/composable-vue/components/VueUse.vue @@ -6,7 +6,7 @@ defineProps<{ diff --git a/demo/composable-vue/slides.md b/demo/composable-vue/slides.md index 50f257e51f..6053567b76 100644 --- a/demo/composable-vue/slides.md +++ b/demo/composable-vue/slides.md @@ -24,7 +24,7 @@ Anthony Fu
- +
VueDay
Apr. 29th, 2021
@@ -53,7 +53,7 @@ A fanatical full-time open sourceror.
antfu.me
- +A comic art image of Anthony Fu --- @@ -61,7 +61,7 @@ name: Sponsors layout: center --- -
+A list of the sponsor logos
Sponsor me at GitHub @@ -82,7 +82,7 @@ layout: center
- +
Collection of essential Vue Composition Utilities
@@ -323,7 +323,7 @@ The `setup()` only runs **once** on component initialization, to construct the r

SpreadSheet Formula

- +
@@ -1143,7 +1143,7 @@ Creates Universal Library for Vue 2 & 3
+ --- diff --git a/demo/starter/slides.md b/demo/starter/slides.md index defe6a0ff9..c3167c65aa 100644 --- a/demo/starter/slides.md +++ b/demo/starter/slides.md @@ -30,7 +30,7 @@ Presentation slides for developers -
@@ -103,7 +103,7 @@ level: 2 Hover on the bottom-left corner to see the navigation's controls panel, [learn more](https://sli.dev/guide/navigation.html) -### Keyboard Shortcuts +## Keyboard Shortcuts | | | | --- | --- | @@ -117,6 +117,7 @@ Hover on the bottom-left corner to see the navigation's controls panel, [learn m v-click class="absolute -bottom-9 -left-7 w-80 opacity-50" src="https://sli.dev/assets/arrow-bottom-left.svg" + alt="" />

Here!

@@ -225,9 +226,9 @@ theme: seriph --- ``` - + - +
@@ -259,6 +260,7 @@ Animations are powered by [@vueuse/motion](https://motion.vueuse.org/). :enter="final" class="absolute top-0 left-0 right-0 bottom-0" src="https://sli.dev/logo-square.png" + alt="" />
@@ -346,7 +350,7 @@ You can create diagrams / graphs from textual descriptions, directly in your Mar
-```mermaid {scale: 0.5} +```mermaid {scale: 0.5, alt: 'A simple sequence diagram'} sequenceDiagram Alice->John: Hello John, how are you? Note over Alice,John: A typical interaction diff --git a/packages/client/builtin/PlantUml.vue b/packages/client/builtin/PlantUml.vue index 6e053a7208..2ac399c5e3 100644 --- a/packages/client/builtin/PlantUml.vue +++ b/packages/client/builtin/PlantUml.vue @@ -13,15 +13,18 @@ Alice -> Bob : Hello! diff --git a/packages/client/internals/DrawingControls.vue b/packages/client/internals/DrawingControls.vue index 7fa51f6031..7006c0bc0d 100644 --- a/packages/client/internals/DrawingControls.vue +++ b/packages/client/internals/DrawingControls.vue @@ -13,6 +13,7 @@ import { } from '../logic/drawings' import VerticalDivider from './VerticalDivider.vue' import Draggable from './Draggable.vue' +import HiddenText from './HiddenText.vue' function undo() { drauu.undo() @@ -40,24 +41,30 @@ function setBrushColor(color: typeof brush.color) { :initial-y="10" > @@ -70,6 +77,7 @@ function setBrushColor(color: typeof brush.color) { :class="brush.color === color ? 'active' : 'shallow'" @click="setBrushColor(color)" > +
@@ -100,6 +112,7 @@ function setBrushColor(color: typeof brush.color) { :class="{ shallow: !drawingEnabled }" @click="drawingEnabled = !drawingEnabled" > + diff --git a/packages/client/internals/Editor.vue b/packages/client/internals/Editor.vue index 3edce979de..62e0b7523b 100644 --- a/packages/client/internals/Editor.vue +++ b/packages/client/internals/Editor.vue @@ -5,6 +5,7 @@ import { activeElement, editorWidth, isInputting, showEditor } from '../state' import { useCodeMirror } from '../setup/codemirror' import { currentSlideId, openInEditor } from '../logic/nav' import { useDynamicSlideInfo } from '../logic/note' +import HiddenText from './HiddenText.vue' const props = defineProps<{ resize: boolean @@ -147,9 +148,11 @@ throttledWatch(
@@ -158,9 +161,11 @@ throttledWatch(
diff --git a/packages/client/internals/HiddenText.vue b/packages/client/internals/HiddenText.vue new file mode 100644 index 0000000000..7f06fb52d9 --- /dev/null +++ b/packages/client/internals/HiddenText.vue @@ -0,0 +1,9 @@ + + + diff --git a/packages/client/internals/InfoDialog.vue b/packages/client/internals/InfoDialog.vue index 2ca6da45a5..a38e93c327 100644 --- a/packages/client/internals/InfoDialog.vue +++ b/packages/client/internals/InfoDialog.vue @@ -33,7 +33,7 @@ const hasInfo = computed(() => typeof configs.info === 'string') Slidev
Slidev diff --git a/packages/client/internals/NavControls.vue b/packages/client/internals/NavControls.vue index caccf032e9..08bb74fde0 100644 --- a/packages/client/internals/NavControls.vue +++ b/packages/client/internals/NavControls.vue @@ -8,6 +8,7 @@ import { configs } from '../env' import Settings from './Settings.vue' import MenuButton from './MenuButton.vue' import VerticalDivider from './VerticalDivider.vue' +import HiddenText from './HiddenText.vue' // @ts-expect-error virtual module import CustomNavControls from '/@slidev/custom-nav-controls' @@ -52,19 +53,28 @@ if (__SLIDEV_FEATURE_DRAWINGS__) @mouseleave="onMouseLeave" > @@ -74,8 +84,14 @@ if (__SLIDEV_FEATURE_DRAWINGS__) title="Toggle dark mode" @click="toggleDark()" > - - + + @@ -92,13 +108,20 @@ if (__SLIDEV_FEATURE_DRAWINGS__) title="Show presenter cursor" @click="showPresenterCursor = !showPresenterCursor" > - - + + @@ -136,6 +161,7 @@ if (__SLIDEV_FEATURE_DRAWINGS__) class="slidev-icon-btn" @click="showInfoDialog = !showInfoDialog" > + @@ -143,6 +169,7 @@ if (__SLIDEV_FEATURE_DRAWINGS__) diff --git a/packages/client/internals/NotesView.vue b/packages/client/internals/NotesView.vue index 5d12457b3c..bf89ebd5d4 100644 --- a/packages/client/internals/NotesView.vue +++ b/packages/client/internals/NotesView.vue @@ -8,6 +8,7 @@ import { fullscreen } from '../state' import { total } from '../logic/nav' import { rawRoutes } from '../routes' import NoteDisplay from './NoteDisplay.vue' +import HiddenText from './HiddenText.vue' const slideTitle = configs.titleTemplate.replace('%s', configs.title || 'Slidev') useHead({ @@ -57,13 +58,16 @@ function decreaseFontSize() {
diff --git a/packages/client/internals/Presenter.vue b/packages/client/internals/Presenter.vue index d9fb43efff..21032b2ceb 100644 --- a/packages/client/internals/Presenter.vue +++ b/packages/client/internals/Presenter.vue @@ -88,7 +88,7 @@ onMounted(() => {
- + Slidev logo
{ title="Show camera view" @click="toggleAvatar" > + @@ -49,12 +51,14 @@ onMounted(() => { title="Recording" @click="toggleRecording" > + diff --git a/packages/client/internals/SlidesOverview.vue b/packages/client/internals/SlidesOverview.vue index 56dfff6e73..52256f5978 100644 --- a/packages/client/internals/SlidesOverview.vue +++ b/packages/client/internals/SlidesOverview.vue @@ -9,6 +9,7 @@ import { getSlideClass } from '../utils' import SlideContainer from './SlideContainer.vue' import SlideWrapper from './SlideWrapper' import DrawingPreview from './DrawingPreview.vue' +import HiddenText from './HiddenText.vue' const props = defineProps<{ modelValue: boolean }>() @@ -157,6 +158,7 @@ watchEffect(() => {
diff --git a/packages/create-theme/template/example.md b/packages/create-theme/template/example.md index b68b996100..16d9bc41ea 100644 --- a/packages/create-theme/template/example.md +++ b/packages/create-theme/template/example.md @@ -38,7 +38,7 @@ Read more about [Why Slidev?](https://sli.dev/guide/why) Hover on the bottom-left corner to see the navigation's controls panel -### Keyboard Shortcuts +## Keyboard Shortcuts | | | | --- | --- | diff --git a/packages/slidev/template.md b/packages/slidev/template.md index 9c8727097c..03cd939e39 100644 --- a/packages/slidev/template.md +++ b/packages/slidev/template.md @@ -26,7 +26,7 @@ Presentation slides for developers
- @@ -77,7 +77,7 @@ h1 { Hover on the bottom-left corner to see the navigation's controls panel, [learn more](https://sli.dev/guide/navigation.html) -### Keyboard Shortcuts +## Keyboard Shortcuts | | | | --- | --- | @@ -91,6 +91,7 @@ Hover on the bottom-left corner to see the navigation's controls panel, [learn m v-click class="absolute -bottom-9 -left-7 w-80 opacity-50" src="https://sli.dev/assets/arrow-bottom-left.svg" + alt="" />

Here!

@@ -177,9 +178,9 @@ theme: seriph --- ``` - + - +
@@ -211,6 +212,7 @@ Animations are powered by [@vueuse/motion](https://motion.vueuse.org/). :enter="final" class="absolute top-0 left-0 right-0 bottom-0" src="https://sli.dev/logo-square.png" + alt="" />