Skip to content

Instantly share code, notes, and snippets.

@susanBuck
Created January 8, 2025 16:18
Show Gist options
  • Save susanBuck/25680df21158d0bef000ff887626d5b2 to your computer and use it in GitHub Desktop.
Save susanBuck/25680df21158d0bef000ff887626d5b2 to your computer and use it in GitHub Desktop.
Markdown example
## Basic text formatting
**This text is bold - it must be important**
_This text is italicized; you should probably pay attention to it..._
[Click this link to learn about jsPsych...](https://www.jspsych.org)
Lists are created using asterisks or plus signs:
+ Item 1
+ Item 2
+ Items can be nested via indentation
## Code
Inline code can be styled using backticks like this: `alert('hi!');`
Blocks of code can be formatted by surrounding them in “code fences”, indicated by three backticks (```)
The starting code fence should include the language extension for the code being used. In the following example that's `js` for JavaScript code.
Example code block:
```js
document.write('Hello World!');
for (let i of [1, 2, 3]) {
document.write(i);
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment