Skip to content

Commit d018b9b

Browse files
committed
Add rendered output to example
1 parent 96d27fa commit d018b9b

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Djot is a light markup syntax created by John MacFarlane (creator of CommonMark
2626

2727
## Example
2828

29-
```
29+
````
3030
# Welcome to My Blog
3131
3232
This is _emphasized_ and this is *strong*.
@@ -45,7 +45,26 @@ And a code block:
4545
<?php
4646
echo "Hello, World!";
4747
```
48-
```
48+
````
49+
50+
**Renders as:**
51+
52+
> # Welcome to My Blog
53+
>
54+
> This is _emphasized_ and this is **strong**.
55+
>
56+
> Here's a [link to Djot](https://djot.net/) and some `inline code`.
57+
>
58+
> - First item
59+
> - Second item
60+
> - Third item
61+
>
62+
> > A blockquote with some wisdom.
63+
>
64+
> ```php
65+
> <?php
66+
> echo "Hello, World!";
67+
> ```
4968
5069
## Requirements
5170

0 commit comments

Comments
 (0)