diff --git a/features/fileViewers.mdx b/features/fileViewers.mdx new file mode 100644 index 0000000..3d1ab3d --- /dev/null +++ b/features/fileViewers.mdx @@ -0,0 +1,81 @@ +--- +title: 'File Viewers' +description: 'View various file types directly in the terminal' +icon: 'file-magnifying-glass' +--- + +## What Are File Viewer Plugins? +File viewer plugins are file integrations that allow you to render various file types inline, directly within the terminal. These plugins provide a convenient way to view and interact with different file formats without the need to switch to external applications. + +### Imageview +Imageview lets you view and inspect image files directly within the terminal. With support for a wide range of formats, including *PNG*, *JPG*, *SVG*, *BMP*, and *GIF*, imageview provides a quick and convenient way to visualize your images without the need for external applications. + + + +#### Using Imageview +Imageview requires only one option, `filename`. + +``` +Usage: +/imageview [filename] +``` + +### Csvview +Csvview is a powerful utility that allows you to view and manipulate CSV files effortlessly within the terminal. With its intuitive interface and sortable columns, csvview makes it a breeze to explore and analyze your CSV data. + + + +#### Using csvview +Csvview requires only one option, `filename`. + +``` +/csvview [filename] +``` + +### Mediaview +Mediaview is a versatile command that allows you to view and play audio and video files seamlessly within the terminal. With support for a wide range of popular media formats, including *MP4*, *WebM*, *Ogg*, *MP3*, *WAV*, *Ogg Vorbis*, *AAC*, and *FLAC*, mediaview provides a convenient and efficient way to view media without leaving the command-line interface. + + + +#### Using mediaview +Mediaview requires only one option, `filename`. +``` +Usage: +/mediaview [filename] +``` + +### Mdview +Mdview is a handy utility that enables you to view and render Markdown files directly within the terminal. It provides a convenient way to read and preview Markdown-formatted content without the need for external applications or leaving the command-line interface. + + + +#### Using mdview +Mdview requires only one option, `filename`. + +``` +Usage: +/mdviewer [filename] +``` + +A live preview of Markdown files can also be found in [codeedit](/reference/slashcommands#codeedit) by clicking the “show preview” button in the top right of the editor. This allows you to edit and render Markdown content in real-time, displaying the output adjacent to the code editor for convenient and immediate visual feedback. + + +### PDFView +Pdfview is a practical utility that allows you to view and navigate PDF files effortlessly within the terminal. It provides a convenient way to access and read PDF documents without the need for external applications, making it a useful tool for developers, system administrators, and anyone who frequently works with PDF files in a command-line environment. + + + +#### Using pdfview +Pdfview requires only one option, `filename`. + +``` +Usage: +/pdfview [filename] +``` + +## The Future of Plugins +Wave's file viewer plugins are just the beginning of our journey to revolutionize the way you interact with files in the terminal. + +In the future, we plan to introduce a simple alias like `/view` that will intelligently render any supported file type, eliminating the need to memorize individual commands for each file format and providing a more intuitive and streamlined experience. + +Stay tuned for more updates and plugins that will further empower your workflow and boost your productivity within the command-line environment. \ No newline at end of file diff --git a/features/images.mdx b/features/images.mdx deleted file mode 100644 index 5a89d31..0000000 --- a/features/images.mdx +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: 'Image Viewer' -description: 'View images directly in the terminal' -icon: 'image' ---- - -Quickly preview image files on a local or remote machine with the `imageview` command - -### Example - -``` -imageview logo.jpg -``` diff --git a/images/fileViewers/csvview.gif b/images/fileViewers/csvview.gif new file mode 100644 index 0000000..aa7c3e7 Binary files /dev/null and b/images/fileViewers/csvview.gif differ diff --git a/images/fileViewers/imageview.gif b/images/fileViewers/imageview.gif new file mode 100644 index 0000000..b3d04cb Binary files /dev/null and b/images/fileViewers/imageview.gif differ diff --git a/images/fileViewers/mdview.gif b/images/fileViewers/mdview.gif new file mode 100644 index 0000000..b97b502 Binary files /dev/null and b/images/fileViewers/mdview.gif differ diff --git a/images/fileViewers/mediaview.gif b/images/fileViewers/mediaview.gif new file mode 100644 index 0000000..3ffbb5d Binary files /dev/null and b/images/fileViewers/mediaview.gif differ diff --git a/images/fileViewers/pdfview.gif b/images/fileViewers/pdfview.gif new file mode 100644 index 0000000..ce716a7 Binary files /dev/null and b/images/fileViewers/pdfview.gif differ diff --git a/mint.json b/mint.json index 20625a0..71bd21b 100644 --- a/mint.json +++ b/mint.json @@ -59,8 +59,8 @@ "pages":[ "features/waveAI", "features/codeedit", + "features/fileViewers", "features/history", - "features/images", "features/connections", "features/appearance" ]