📄 Generate Reports
geol can generate reports in Markdown format. You can then use Pandoc to convert them into other formats such as EPUB, HTML, PDF, or DOCX.
⚙️ Install Pandoc
Pandoc is a document converter that transforms Markdown files into many output formats, including EPUB, PDF, DOCX, and HTML.
Install Pandoc with Homebrew:
brew install pandoc
See the official Pandoc installation guide for additional installation options:
📝 Generate a Report
Use geol to generate a Markdown report and save it to a file.
For example, generate a report for Ubuntu:
geol product describe ubuntu > geol-report.md
You can also include multiple products in the same report:
geol product extended ubuntu linux windows > geol-report.md
📚 Export to EPUB
Convert the Markdown report into an EPUB e-book:
pandoc geol-report.md -o geol-report.epub
🌐 Export to HTML
Convert the Markdown report into a standalone HTML file:
pandoc geol-report.md -s -o geol-report.html
📄 Export to PDF
Convert the Markdown report into a PDF document using XeLaTeX:
pandoc geol-report.md -o geol-report.pdf --pdf-engine=xelatex
You can use Pandoc to convert the generated report into many other formats, including DOCX, ODT, and LaTeX.