---
title: "Discussion on \"How to show code diffs in your Hashnode Blog?\" | Hashnode"
description: "Discussion on \"How to show code diffs in your Hashnode Blog?\". Code Diffs was something I wanted to use for a while in Hashnode but I didn't know that it was already there to be used in markdown. The way you can implement this is like follows:\n```diff\n+ const port = process.env.PORT || 3000;\n- app.listen(3000, (..."
url: "https://hashnode.com/posts/how-to-show-code-diffs-in-your-hashnode-blog/622191535998063ea60d6f6a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to show code diffs in your Hashnode Blog?](https://livecode247.com/how-to-show-code-diffs-in-your-hashnode-blog?utm_source=hashnode&utm_medium=feed)

Code Diffs was something I wanted to use for a while in Hashnode but I didn't know that it was already there to be used in markdown. The way you can implement this is like follows: \`\`\`diff + const port = process.env.PORT || 3000; - app.listen(3000, (...

Mar 4, 2022 · 2 min read · livecode247.com  
Updated Mar 13, 2022  
Read the article

-   [#hashnode](https://hashnode.com/tag/hashnode)
-   [#developer-blogging](https://hashnode.com/tag/developer-blogging)
-   [#blogger-1](https://hashnode.com/tag/blogger-1)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Kavin Desi Valli](https://hashnode.com/@kavinvalli)

@kavinvalli · Delhi, India

  
[View profile](https://hashnode.com/@kavinvalli)

Fullstack Developer

I am a developer from Delhi, India

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
