@berlysia/vertical-writing-slide-system 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +1 -1
- package/scripts/build-pages.js +1 -1
package/README.md
CHANGED
|
@@ -112,6 +112,10 @@ Create a `scripts.json` file in your slide directory:
|
|
|
112
112
|
|
|
113
113
|
For development documentation, see [DEVELOPMENT.md](DEVELOPMENT.md).
|
|
114
114
|
|
|
115
|
+
## Example Usage
|
|
116
|
+
|
|
117
|
+
For example slides and presentations, see [berlysia/slides-for-vertical-writing](https://github.com/berlysia/slides-for-vertical-writing) repository.
|
|
118
|
+
|
|
115
119
|
## Writing Modes
|
|
116
120
|
|
|
117
121
|
The application supports both vertical and horizontal writing modes:
|
package/package.json
CHANGED
package/scripts/build-pages.js
CHANGED
|
@@ -5,7 +5,7 @@ import { build } from "vite";
|
|
|
5
5
|
const defaultSlidesDir = resolve(import.meta.dirname, "..", "slides");
|
|
6
6
|
const pagesDir = "pages";
|
|
7
7
|
// Ensure pages directory exists
|
|
8
|
-
await rm(pagesDir, { recursive: true });
|
|
8
|
+
await rm(pagesDir, { recursive: true, force: true });
|
|
9
9
|
await mkdir(pagesDir, { recursive: true });
|
|
10
10
|
async function buildSlide(slideName) {
|
|
11
11
|
console.log(`Building ${slideName}...`);
|