From a8d872fcf0ac62a75b5a5e99afbf497539958164 Mon Sep 17 00:00:00 2001 From: Tracy Miranda Date: Thu, 16 Nov 2023 16:15:36 -0500 Subject: [PATCH] Update imageview page --- features/images.mdx | 52 +++---------------------------------------- features/markdown.mdx | 3 ++- 2 files changed, 5 insertions(+), 50 deletions(-) diff --git a/features/images.mdx b/features/images.mdx index 58e7fc3..5a89d31 100644 --- a/features/images.mdx +++ b/features/images.mdx @@ -4,56 +4,10 @@ description: 'View images directly in the terminal' icon: 'image' --- - +Quickly preview image files on a local or remote machine with the `imageview` command -## Image Viewer +### Example -### Using Markdown - -The [markdown syntax](https://www.markdownguide.org/basic-syntax/#images) lets you add images using the following code - -```md -![title](/path/image.jpg) ``` - -Note that the image file size must be less than 5MB. Otherwise, we recommend hosting on a service like [Cloudinary](https://cloudinary.com/) or [S3](https://aws.amazon.com/s3/). You can then use that URL and embed. - -### Using Embeds - -To get more customizability with images, you can also use [embeds](/writing-content/embed) to add images - -```html - -``` - -## Embeds and HTML elements - - - -
- - - -Mintlify supports [HTML tags in Markdown](https://www.markdownguide.org/basic-syntax/#html). This is helpful if you prefer HTML tags to Markdown syntax, and lets you create documentation with infinite flexibility. - - - -### iFrames - -Loads another HTML page within the document. Most commonly used for embedding videos. - -```html - +imageview logo.jpg ``` diff --git a/features/markdown.mdx b/features/markdown.mdx index e989601..73a3d4b 100644 --- a/features/markdown.mdx +++ b/features/markdown.mdx @@ -8,5 +8,6 @@ Quickly edit code on a local or remote machine with the `codeedit` command ### Example -```md codeedit README.md +``` +codeedit README.md ```