File tree Expand file tree Collapse file tree 3 files changed +33
-20
lines changed
Expand file tree Collapse file tree 3 files changed +33
-20
lines changed Original file line number Diff line number Diff line change @@ -50,19 +50,20 @@ jobs:
5050
5151 - name : Build all Slidev .md files
5252 run : |
53- mkdir -p public/slidev
54- find content -type f -name "*.md" | while read file; do
55- relpath="${file#content/}" # e.g. topic1/sub/slide.md
56- name="${relpath%.md}" # e.g. topic1/sub/slide
57- outdir="dist/$name" # e.g. dist/topic1/sub/slide
58- targetdir="public/slidev/$name" # e.g. public/slidev/topic1/sub/slide
59-
60- echo "📦 Building $file → $targetdir"
61- npx slidev build "$file" --out "$outdir"
62-
63- mkdir -p "$targetdir"
64- cp -r "$outdir/"* "$targetdir/"
65- done
53+ npx slidev build content/z-index/slidev.md --out ../../public/slidev/
54+ # mkdir -p public/slidev
55+ # find content -type f -name "*.md" | while read file; do
56+ # relpath="${file#content/}" # e.g. topic1/sub/slide.md
57+ # name="${relpath%.md}" # e.g. topic1/sub/slide
58+ # outdir="dist/$name" # e.g. dist/topic1/sub/slide
59+ # targetdir="public/slidev/$name" # e.g. public/slidev/topic1/sub/slide
60+
61+ # echo "📦 Building $file → $targetdir"
62+ # npx slidev build "$file" --out "$outdir"
63+
64+ # mkdir -p "$targetdir"
65+ # cp -r "$outdir/"* "$targetdir/"
66+ # done
6667
6768 - name : Upload artifact
6869 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ markmap: "colorFreezeLevel: 4"
8282 * ...
8383
8484# Quartz Frontmatter
85- ``` frontmatter
85+ ```
8686title: Title of the page
8787description: Description of the page used for link previews.
8888date: 2025-05-01
@@ -125,12 +125,6 @@ draft: true
125125| ` > [!note] ` | [ Callouts] ( https://help.obsidian.md/Editing+and+formatting/Callouts ) |
126126| (see link) | [ Tables] ( https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax#Tables ) |
127127
128- ## Inline search query
129- ``` query
130- task-todo: ee4
131- path: "@ Projects"
132- ```
133-
134128## Bold, italics, highlights
135129
136130| Style | Syntax | Example | Output |
Original file line number Diff line number Diff line change 1+ import { defineShikiSetup } from '@slidev/types'
2+
3+ export default defineShikiSetup ( ( ) => {
4+ return {
5+ themes : {
6+ dark : 'min-dark' ,
7+ light : 'min-light' ,
8+ } ,
9+ langs : [
10+ 'js' ,
11+ 'typescript' ,
12+ 'cpp' ,
13+ 'python' ,
14+ ] ,
15+ // transformers: [
16+ // ],
17+ }
18+ } )
You can’t perform that action at this time.
0 commit comments