Skip to content

Commit 11e7ec4

Browse files
committed
chore: align examples with parser v1.3
1 parent 870f4b3 commit 11e7ec4

19 files changed

Lines changed: 75 additions & 61 deletions

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
validate:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Setup Bun
15+
uses: oven-sh/setup-bun@v2
16+
with:
17+
bun-version: 1.3.0
18+
- name: Install dependencies
19+
run: bun install --frozen-lockfile
20+
- name: Validate examples
21+
run: bun run validate

β€ŽREADME.mdβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ Data analysis and tracking sheets:
3636
- **[expense-report.osf](spreadsheets/expense-report.osf)** - Expense tracking with formulas
3737
- **[inventory-management.osf](spreadsheets/inventory-management.osf)** - Inventory system
3838

39-
### πŸ“‹ Tables (v1.2+)
39+
### πŸ“‹ Tables (v1.3+)
4040
Professional tables with styling and alignment:
4141
- **[basic-table.osf](tables/basic-table.osf)** - Simple product catalog with default styling
4242
- **[styled-table.osf](tables/styled-table.osf)** - Examples of all three style variants
4343
- **[sales-report.osf](tables/sales-report.osf)** - Complete sales report with multiple tables
4444

45-
### πŸ”— Modular Documents (v1.2+)
45+
### πŸ”— Modular Documents (v1.3+)
4646
Document composition using @include directive:
4747
- **[main.osf](modular/main.osf)** - Main document including multiple sections
4848
- **[sections/intro.osf](modular/sections/intro.osf)** - Executive summary section
@@ -94,8 +94,8 @@ npm run validate
9494

9595
### Convert an Example
9696
```bash
97-
# Install OSF CLI globally (v1.2.1)
98-
npm install -g omniscript-cli@1.2.1
97+
# Install OSF CLI globally (v1.3.0)
98+
npm install -g omniscript-cli@1.3.0
9999

100100
# Convert to PDF
101101
osf render getting-started/01-hello-world.osf --format pdf
@@ -107,7 +107,7 @@ osf render documents/technical-report.osf --format docx --theme corporate
107107
osf render presentations/business-pitch.osf --format pptx --theme modern
108108
```
109109

110-
### Try New v1.2 Features
110+
### Try New v1.3 Features
111111
```bash
112112
# Create a document with @table blocks
113113
echo '@table { | A | B |\n| --- | --- |\n| 1 | 2 |\n}' > test.osf

β€Žbun.lockβ€Ž

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žnode_modules/omniscript-parser/dist/block-parsers/chart.d.ts.mapβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žnode_modules/omniscript-parser/dist/block-parsers/chart.js.mapβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žnode_modules/omniscript-parser/dist/block-parsers/sheet.jsβ€Ž

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žnode_modules/omniscript-parser/dist/block-parsers/sheet.js.mapβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)