Files
cheatsheet-tldr/tldr/doxx
2026-03-06 00:31:36 +00:00

38 lines
810 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# doxx
> View `.docx` files in the terminal.
> More information: <https://github.com/bgreenwell/doxx#-command-line-options>.
- View a `.docx` file in the terminal:
`doxx {{path/to/file}}.docx`
- View a `.docx` file in the terminal with color support:
`doxx {{path/to/file}}.docx --color`
- View a `.docx` file in the terminal with image support:
`doxx {{path/to/file}}.docx --images`
- View a `.docx` file in the terminal and jump to a specific page:
`doxx {{path/to/file}}.docx {{[-p|--page]}} {{page_number}}`
- Search for a pattern in a `.docx` file:
`doxx {{path/to/file}}.docx {{[-s|--search]}} {{pattern}}`
- Search for a pattern while viewing a document:
`<s>{{pattern}}`
- Exit document:
`<q>`