From 87e5575df96f5018b842810a8a54683a8784ae9f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 14 Apr 2024 21:52:49 +0000 Subject: [PATCH 01/10] Create index.md file --- index.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 index.md diff --git a/index.md b/index.md new file mode 100644 index 0000000..e69de29 From 06e6a08059c3d8a4c844757d53373b27a43c7972 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 14 Apr 2024 21:52:49 +0000 Subject: [PATCH 02/10] Update to 1 in STEP and README.md --- .github/steps/-step.txt | 2 +- README.md | 74 ++++++++++++++++++++++------------------- 2 files changed, 41 insertions(+), 35 deletions(-) diff --git a/.github/steps/-step.txt b/.github/steps/-step.txt index 573541a..d00491f 100644 --- a/.github/steps/-step.txt +++ b/.github/steps/-step.txt @@ -1 +1 @@ -0 +1 diff --git a/README.md b/README.md index b54d8cc..ac549bd 100644 --- a/README.md +++ b/README.md @@ -14,50 +14,56 @@ _Organize ideas and collaborate using Markdown, a lightweight language for text -## Welcome +## Step 1: Add headers -GitHub is about more than code. It’s a platform for software collaboration, and Markdown is one of the most important ways developers can make their communication clear and organized in issues and pull requests. This course will walk you through creating and using headings more effectively, organizing thoughts in bulleted lists, and showing how much work you’ve completed with checklists. You can even use Markdown to add some depth to your work with the help of emoji, images, and links. +_Welcome to "Communicate using Markdown"! :wave:_ -- **Who is this for**: New developers, new GitHub users, and students. -- **What you'll learn**: Use Markdown to add lists, images, and links in a comment or text file. -- **What you'll build**: We'll update a plain text file and add Markdown formatting, and you can use this file to start your own GitHub Pages site. -- **Prerequisites**: In this course you will work with pull requests as well as edit files. If these things aren't familiar to you, we recommend you take the [Introduction to GitHub](https://github.com/skills/introduction-to-github) course, first! -- **How long**: This course takes less than one hour to complete. +**What is _Markdown_?** Markdown is a [lightweight syntax](https://docs.github.com/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) for communicating on GitHub. You can format text to add a heading, lists, **bold**, _italics_, tables, and many other stylings. You can use Markdown in most places around GitHub: -In this course, you will: +- Comments on [issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues), [pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests), and [discussions](https://docs.github.com/discussions/collaborating-with-your-community-using-discussions/about-discussions) +- Files with the `.md` or `.markdown` extension +- Sharing snippets of text in [Gists](https://docs.github.com/github/writing-on-github/editing-and-sharing-content-with-gists/creating-gists) -1. Add headers -2. Add an image -3. Add a code example -4. Make a task list -5. Merge your pull request +**What is a _header_?** A header is a larger bit of text at the beginning of a section. There are six sizes. -### How to start this course +### Example - +```md +# This is an `

` header, which is the largest + +## This is an `

` header + +###### This is an `

` header, which is the smallest +``` + +#### How it looks + +# This is an `

` header, which is the largest + +## This is an `

` header + +###### This is an `

` header, which is the smallest -[![start-course](https://user-images.githubusercontent.com/1221423/235727646-4a590299-ffe5-480d-8cd5-8194ea184546.svg)](https://github.com/new?template_owner=skills&template_name=communicate-using-markdown&owner=%40me&name=skills-communicate-using-markdown&description=My+clone+repository&visibility=public) +### :keyboard: Activity: Edit your file with headers -1. Right-click **Start course** and open the link in a new tab. -2. In the new tab, most of the prompts will automatically fill in for you. - - For owner, choose your personal account or an organization to host the repository. - - We recommend creating a public repository, as private repositories will [use Actions minutes](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions). - - Scroll down and click the **Create repository** button at the bottom of the form. -3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README. +1. Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab. +1. Open the **pull requests** tab. +1. Click **New pull request**, for the branches to compare, select `base: main` and `compare: start-markdown`. +1. Click **Create pull request**. +1. In this pull request, go to the **Files changed** tab. We made an empty file `index.md` for you. +1. Select **Edit file** from the three dotted **...** menu in the upper right corner of the file view on `index.md`. +1. On the **Edit file** tab, add a `#`, followed by a **space**, before any content you like to make it an H1 Header. You can add more headers, using one to six `#` characters followed by a **space**. +1. Above your new content, click **Preview**. +1. At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file. +1. Click **Commit changes**. +1. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.