Answers for "markdown block code"

21

markdown table

Layout:
| Tables   |      Are      |  Cool |
|----------|:-------------:|------:|
| col 1 is |  left-aligned | $1600 |
| col 2 is |    centered   |   $12 |
| col 3 is | right-aligned |    $1 |
  
An amazing website for building a table in markdown:
https://www.tablesgenerator.com/markdown_tables
Posted by: Guest on December-07-2020
4

code in markdown

```<name of the language>
<code>
```

EXAMPLE

```python
print("Hello World")
```
Posted by: Guest on December-08-2020
8

markdown hyperlink syntax

[Link to Google](https://www.google.com)
Posted by: Guest on July-08-2020
2

markdown block code

```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```

```
No language indicated, so no syntax highlighting. 
But let's throw in a <b>tag</b>.
```
Posted by: Guest on May-23-2021
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
26

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