fix newlines in readme

This commit is contained in:
phiresky 2020-06-06 15:09:22 +02:00
parent 46896f13ac
commit 501da361ee
2 changed files with 28 additions and 24 deletions

View File

@ -87,46 +87,50 @@ Adapters:
- **ffmpeg** - **ffmpeg**
Uses ffmpeg to extract video metadata/chapters and subtitles Uses ffmpeg to extract video metadata/chapters and subtitles
Extensions: .mkv, .mp4, .avi Extensions: .mkv, .mp4, .avi
* **pandoc** * **pandoc**
Uses pandoc to convert binary/unreadable text documents to plain markdown-like text Uses pandoc to convert binary/unreadable text documents to plain markdown-like text
Extensions: .epub, .odt, .docx, .fb2, .ipynb Extensions: .epub, .odt, .docx, .fb2, .ipynb
- **poppler** - **poppler**
Uses pdftotext (from poppler-utils) to extract plain text from PDF files Uses pdftotext (from poppler-utils) to extract plain text from PDF files
Extensions: .pdf Extensions: .pdf
Mime Types: application/pdf Mime Types: application/pdf
- **zip** - **zip**
Reads a zip file as a stream and recurses down into its contents Reads a zip file as a stream and recurses down into its contents
Extensions: .zip Extensions: .zip
Mime Types: application/zip Mime Types: application/zip
- **decompress** - **decompress**
Reads compressed file as a stream and runs a different extractor on the contents. Reads compressed file as a stream and runs a different extractor on the contents.
Extensions: .tgz, .tbz, .tbz2, .gz, .bz2, .xz, .zst Extensions: .tgz, .tbz, .tbz2, .gz, .bz2, .xz, .zst
Mime Types: application/gzip, application/x-bzip, application/x-xz, application/zstd Mime Types: application/gzip, application/x-bzip, application/x-xz, application/zstd
- **tar** - **tar**
Reads a tar file as a stream and recurses down into its contents Reads a tar file as a stream and recurses down into its contents
Extensions: .tar Extensions: .tar
* **sqlite** * **sqlite**
Uses sqlite bindings to convert sqlite databases into a simple plain text format Uses sqlite bindings to convert sqlite databases into a simple plain text format
Extensions: .db, .db3, .sqlite, .sqlite3 Extensions: .db, .db3, .sqlite, .sqlite3
Mime Types: application/x-sqlite3 Mime Types: application/x-sqlite3
The following adapters are disabled by default, and can be enabled using '--rga-adapters=+pdfpages,tesseract': The following adapters are disabled by default, and can be enabled using '--rga-adapters=+pdfpages,tesseract':
- **pdfpages** - **pdfpages**
Converts a pdf to its individual pages as png files. Only useful in combination with tesseract Converts a pdf to its individual pages as png files. Only useful in combination with tesseract
Extensions: .pdf Extensions: .pdf
Mime Types: application/pdf Mime Types: application/pdf
- **tesseract** - **tesseract**
Uses tesseract to run OCR on images to make them searchable. May need -j1 to prevent overloading the system. Make sure you have tesseract installed. Uses tesseract to run OCR on images to make them searchable. May need -j1 to prevent overloading the system. Make sure you have tesseract installed.
Extensions: .jpg, .png Extensions: .jpg, .png
## USAGE: ## USAGE:

View File

@ -45,7 +45,7 @@ fn main() -> anyhow::Result<()> {
format!("Mime Types: {}", slow_matchers) format!("Mime Types: {}", slow_matchers)
}; };
print!( print!(
" - **{name}**\n {desc}\n Extensions: {matchers}\n {mime}\n", " - **{name}**\n {desc} \n Extensions: {matchers} \n {mime} \n",
name = meta.name, name = meta.name,
desc = meta.description, desc = meta.description,
matchers = matchers, matchers = matchers,