VueDay
Apr. 29th, 2021
@@ -53,7 +53,7 @@ A fanatical full-time open sourceror.
@@ -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 @@
+
+
+
+ {{ text }}
+
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
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"
>
-
-
+
+
+
+
+
+
+
+