Skip to content

Commit 69215aa

Browse files
committed
docs: Update README for v1.2 features (@table, @include)
1 parent 4306e41 commit 69215aa

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ npm run validate
8181

8282
### Convert an Example
8383
```bash
84-
# Install OSF CLI globally
85-
npm install -g omniscript-cli
84+
# Install OSF CLI globally (v1.2.1)
85+
npm install -g omniscript-cli@1.2.1
8686

8787
# Convert to PDF
8888
osf render getting-started/01-hello-world.osf --format pdf
@@ -94,6 +94,17 @@ osf render documents/technical-report.osf --format docx --theme corporate
9494
osf render presentations/business-pitch.osf --format pptx --theme modern
9595
```
9696

97+
### Try New v1.2 Features
98+
```bash
99+
# Create a document with @table blocks
100+
echo '@table { | A | B |\n| --- | --- |\n| 1 | 2 |\n}' > test.osf
101+
osf render test.osf --format html
102+
103+
# Use @include for modular documents
104+
echo '@include { path: "./section.osf"; }' > main.osf
105+
osf parse main.osf
106+
```
107+
97108
---
98109

99110
## 📖 How to Use These Examples

0 commit comments

Comments
 (0)