From a600a293e10a4bc906c11ec82f657324513effa8 Mon Sep 17 00:00:00 2001 From: sammysango <136692631+sammysango@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:54:02 +0000 Subject: [PATCH] Adding image guidance to README --- README.mdx | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/README.mdx b/README.mdx index 983c941b79..a497aa5812 100644 --- a/README.mdx +++ b/README.mdx @@ -141,3 +141,54 @@ information. You can run other linters for code style (CSS, JavaScript) and link formatting any time with the command `npm run lint`. + +## Adding images to articles + +### Add image files + +Any images for articles should be added to the `/static/img/` directory. Here, the `/img` folder +structure mirrors that of the docs, and images are stored in the corresponding subdirectory. If +you have added a _new_ article in `/docs`, create the new subdirectory in `/img` according to this +structure. + +#### Format image files + +Use the following JSX formatting to add an image into an article: + +``` +