Welcome to this tutorial on how to quickly edit text content on a single Markdown-based page. The steps here are designed for non-technical contributors. There's no need to know how to code!
This "How to" is only recommended for text changes only, e.g. those that don't include adding images, links to other pages, diagrams, or other elements that can't be previewed in GitHub preview mode.
If you are unfamiliar with Markdown (and its different flavours and extra elements supported by Flowershow based websites), check out this short guide on available syntax elements.
Option A: Use the "Edit this page" button
If it was enabled, some pages on your website may have an "Edit this page" button at the bottom. By clicking it, you would be redirected to the corresponding Markdown file in your repository, ready for editing.
Option B: Locate the underlying Markdown file in the repository yourself
If the "Edit this page" button is unavailable, or if want to familiarise yourself more deeply with the repository's structure 💪, follow these steps:
- Go to the repository.
- Click on the
contentfolder to open it. This is where all the Markdown files for the website content are stored.
- Navigate through the subfolders within the
contentfolder to find the file corresponding to the page you wish to edit.
To know exactly which file to look for, consider the URL of the web page you're trying to edit. The URL should correspond to the path of the file in the repository (excluding the
/contentprefix). E.g. a web page at
my.app.org/blog/welcomewill have its Markdown file located at
If you can't find the corresponding markdown file in the repository, it may have been written in JSX instead of MD. For JSX you would need to know frontend programming, in which case submit an issue to your repository for the editing to be completed.
- Once you've found the correct file, click on it to see its contents.
- Click on the pencil icon near the top right corner. This will open the file in edit mode. Now you can make your changes.
- (Optionally) Switch to the "Preview" mode, by toggling from "Edit" -> "Preview" at the top of the file content, to see a rough visualisation of your changes. Keep in mind though, that the actual website may have different styling and may support additional Markdown elements that GitHub doesn't render on the preview.
When you're happy with the content, click on the “Commit changes…” button. In the "Commit message" field, provide a concise summary of your changes. If necessary, you can add further explanation in the "Extended description" text field. Then select “Commit directly to the main branch”, and hit "Commit changes."
The site is now going to be rebuilt to reflect the changes saved to the
main branch. This can take up to a few minutes. After this time you should see your page live.
Congratulations! You've now learned how to edit the text content on a single Markdown-based page on your website.
If anything is not clear to you, or you have suggestions on how we can make this 'How to' better, please don't hesitate to let us know.