Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to paste code here, how do I format that? #61

Open
snowdd1 opened this issue Nov 16, 2016 · 0 comments
Open

I want to paste code here, how do I format that? #61

snowdd1 opened this issue Nov 16, 2016 · 0 comments

Comments

@snowdd1
Copy link
Owner

snowdd1 commented Nov 16, 2016

Multi-line code, or error traces, etc. that should be formatted as fixed-width text, are to be enclosed in three back-ticks:

```

  my code here
  ^ something happened.

```

If you want to get color coding for a specific code language, you can name it after the back ticks:

```json

{
    "object": {
        "number":5
    }
}

```

```javascript

if (number) {
    console.log('Hooray, number exists! ' + number);
}

```

```shell

$ DEBUG=* ./bin/homebridge -U /var/homebridge -D 

```

If in doubt, click on the little Styling with markdown is supported link at the bottom. You get more help from people that can read your code issue!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant