Skip to content

Commit

Permalink
feat: Update gfm post to add syntax highlight explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
vloth committed Dec 3, 2021
1 parent ddd74ea commit 9d45f78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/public/posts/gfm-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function fancyAlert(arg) {
}
}
```
*(syntax is hilighted using [PrismJs](https://prismjs.com/))*

You can also simply indent your code by four spaces:

Expand All @@ -78,6 +79,8 @@ You can also simply indent your code by four spaces:
}
}

*(Be aware the code won't be highlighted because the language cannot be identified by prism)*

## Task Lists

- [x] @mentions, #refs, [links](), **formatting**, and <del>tags</del> supported
Expand Down

0 comments on commit 9d45f78

Please sign in to comment.