Skip to content

Commit 0e4d1f3

Browse files
committed
feat: add ODT to PDF tool, update links across site and README
1 parent 30463c8 commit 0e4d1f3

5 files changed

Lines changed: 727 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,8 @@ Full walkthroughs and real-world examples on the documentation site:
598598
- [simple-odf alternative](https://githubnewbie0.github.io/odf-kit/guides/simple-odf-alternative.html)
599599
- [docxtemplater alternative for ODF](https://githubnewbie0.github.io/odf-kit/guides/docxtemplater-odf-alternative.html)
600600
- [ODT JavaScript ecosystem](https://githubnewbie0.github.io/odf-kit/guides/odt-javascript-ecosystem.html)
601+
- [Free ODT to HTML converter (online tool)](https://githubnewbie0.github.io/odf-kit/tools/odt-to-html.html)
602+
- [Free ODT to PDF converter (online tool)](https://githubnewbie0.github.io/odf-kit/tools/odt-to-pdf.html)
601603

602604
---
603605

docs/guides/odt-to-typst-pdf.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,14 @@ <h2>The pipeline</h2>
186186
<span class="pipeline-arrow"></span>
187187
<div class="pipeline-step">.pdf</div>
188188
</div>
189+
190+
<div style="background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:1.25rem 1.5rem;margin:1.5rem 0;">
191+
<p style="margin:0 0 0.5rem;font-weight:600;color:#1e40af;">Try it online — no CLI needed</p>
192+
<p style="margin:0 0 0.75rem;font-size:0.9rem;color:#1e3a8a;line-height:1.55;">Convert your ODT file to Typst markup in your browser, then compile to PDF at typst.app. Free, private — your file never leaves your device.</p>
193+
<a href="../tools/odt-to-pdf.html" style="display:inline-flex;align-items:center;gap:0.4rem;background:#2563eb;color:#fff;font-size:0.85rem;font-weight:500;text-decoration:none;padding:0.5rem 1rem;border-radius:7px;">
194+
Open the ODT to PDF tool →
195+
</a>
196+
</div>
189197

190198
<h2>Quick start</h2>
191199
<p>Install odf-kit and the Typst CLI:</p>

docs/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,9 +1089,6 @@ <h2>Start working with ODF documents</h2>
10891089
<div class="container">
10901090
<p>
10911091
<strong>odf-kit</strong> · Apache 2.0 ·
1092-
<a href="https://github.com/GitHubNewbie0/odf-kit">GitHub</a> ·
1093-
<a href="https://www.npmjs.com/package/odf-kit">npm</a> ·
1094-
<a href="https://github.com/GitHubNewbie0/odf-kit/blob/main/CHANGELOG.md">Changelog</a> ·
10951092
<a href="guides/generate-odt-nodejs.html">Generate Guide</a> ·
10961093
<a href="guides/generate-odt-browser.html">Browser Guide</a> ·
10971094
<a href="guides/fill-odt-template-javascript.html">Template Guide</a> ·
@@ -1101,7 +1098,9 @@ <h2>Start working with ODF documents</h2>
11011098
<a href="guides/docxtemplater-odf-alternative.html">docxtemplater Alternative</a> ·
11021099
<a href="guides/simple-odf-alternative.html">Migration Guide</a> ·
11031100
<a href="guides/odt-javascript-ecosystem.html">ODT Ecosystem</a> ·
1104-
<a href="guides/odt-to-html-javascript.html">ODT to HTML</a>
1101+
<a href="guides/odt-to-html-javascript.html">ODT to HTML</a> ·
1102+
<a href="tools/odt-to-html.html">Free ODT → HTML Tool</a> ·
1103+
<a href="tools/odt-to-pdf.html">Free ODT → PDF Tool</a>
11051104
</p>
11061105
<p style="margin-top: 0.4rem;">Open-source document generation for developers at nonprofits, governments, schools, and community organizations.</p>
11071106
</div>

docs/tools/odt-to-html.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,8 @@ <h2>Building something that works with ODT files?</h2>
550550
<div class="container">
551551
<h2 style="font-size:1.3rem;font-weight:700;margin-bottom:1rem;letter-spacing:-0.02em;">More odf-kit tools &amp; guides</h2>
552552
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0.75rem;font-size:0.88rem;">
553-
<a href="../guides/odt-to-html-javascript.html" style="color:var(--accent);text-decoration:none;padding:0.6rem 0;border-bottom:1px solid var(--border);">Convert ODT to HTML in JavaScript →</a>
553+
<a href="odt-to-pdf.html" style="color:var(--accent);text-decoration:none;padding:0.6rem 0;border-bottom:1px solid var(--border);">Free ODT to PDF converter →</a>
554+
<a href="../guides/odt-to-html-javascript.html" style="color:var(--accent);text-decoration:none;padding:0.6rem 0;border-bottom:1px solid var(--border);">Convert ODT to HTML in JavaScript →</a>
554555
<a href="../guides/generate-odt-nodejs.html" style="color:var(--accent);text-decoration:none;padding:0.6rem 0;border-bottom:1px solid var(--border);">Generate ODT files in Node.js →</a>
555556
<a href="../guides/generate-odt-browser.html" style="color:var(--accent);text-decoration:none;padding:0.6rem 0;border-bottom:1px solid var(--border);">Generate ODT in the browser →</a>
556557
<a href="../guides/fill-odt-template-javascript.html" style="color:var(--accent);text-decoration:none;padding:0.6rem 0;border-bottom:1px solid var(--border);">Fill ODT templates in JavaScript →</a>

0 commit comments

Comments
 (0)