Skip to content

Latest commit

 

History

History
79 lines (55 loc) · 2.09 KB

File metadata and controls

79 lines (55 loc) · 2.09 KB

Communicate using Markdown

Organize ideas and collaborate using Markdown, a lightweight language for text formatting.

Step 3: Add a code example

Great job adding an image to the file 🎉

Let's add some code blocks. Code blocks can render differently depending on the language.

Example 1

```
$ git init
Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/
```

How it looks

$ git init
Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/

Example 2

``` javascript
var myVar = "Hello, world!";
```

How it looks

var myVar = "Hello, world!";

⌨️ Activity: Adding a code example

  1. As you did before, edit the file in this pull request.
  2. In the file, add the correct Markdown for a code example of your choice.
  3. Use the Preview tab to check your Markdown formatting.
  4. Commit your changes.
  5. Wait about 20 seconds then refresh this page (the one you're following instructions from). GitHub Actions will automatically update to the next step.

Get help: Post in our discussion boardReview the GitHub status page

© 2023 GitHub • Code of ConductMIT License