Answers for "code snippets in markdown"

1

markdown code snippet

```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```
 
```python
s = "Python syntax highlighting"
print s
```
 
```
No language indicated, so no syntax highlighting. 
But let's throw in a <b>tag</b>.
```
Posted by: Guest on November-25-2020
28

markdown

# tier 1 header
##### tier 5 header
**bold**  or  __bold__
*italic*  or  _italic_

[link to markdown guide](https://www.markdownguide.org/basic-syntax/)

> This is a quote. Quotes are indented and a different colour.

show small bits of code with backticks: `print("hello world")` 

- [x] This is a complete item
- [ ] This is an incomplete item

you can also include html code if you want to be more specific.
For example, this would make a picture with a width of 200:
<img src="drawing.jpg" alt="drawing" width="200"/>
Posted by: Guest on May-12-2020

Browse Popular Code Answers by Language