---
title: "Discussion on \"How To Convert Markdown To HTML Using Python\" | Hashnode"
description: "Discussion on \"How To Convert Markdown To HTML Using Python\". In this article, we are going to see how we can use Python to convert GitHub flavoured Markdown text to HTML."
url: "https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1"
---

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

Discussion

# [How To Convert Markdown To HTML Using Python](https://chandraji.hashnode.dev/how-to-convert-markdown-to-html-using-python?utm_source=hashnode&utm_medium=feed)

In this article, we are going to see how we can use Python to convert GitHub flavoured Markdown text to HTML.

Apr 30, 2021 · 5 min read · chandraji.hashnode.dev  
Updated Dec 21, 2021  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#github](https://hashnode.com/tag/github)
-   [#markdown](https://hashnode.com/tag/markdown)
-   [#automation](https://hashnode.com/tag/automation)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Siddharth Chandra](https://hashnode.com/@chandraji)

@chandraji · Bengaluru, India

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

Senior Software Engineer

Senior Software Engineer. Fullstack Developer.

## Responses 5

Markdown supported · ⌘↵ to post

[Pranav Goyal](https://hashnode.com/@pranavg101)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608c15b5a3716542f363dd82)

Nice explanation, thank you. Have you tried [markdown](https://github.com/Python-Markdown/markdown)? It is also very helpful.

[Siddharth Chandra](https://hashnode.com/@chandraji)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608c15b5a3716542f363dd82#reply-608c1683dc886b43180040f4)

Thank you. Yeah, I have used that as well, but wanted to give an overview of this module as it is less explored.

[sharad kumar](https://hashnode.com/@shakm)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608c150bdc886b43180040c3)

Just what i was looking for one of my college projects, thank you very much.

[Siddharth Chandra](https://hashnode.com/@chandraji)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608c150bdc886b43180040c3#reply-608c1644a3716542f363dd91)

Super, let me know how it goes with your college project. Good luck!

[Khushi Pratap](https://hashnode.com/@khuship)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608c1499a3716542f363dd40)

Nice article, you are on an awesome streak [Siddharth Chandra](https://hashnode.com/@codekaro), keep it up.

[Siddharth Chandra](https://hashnode.com/@chandraji)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608c1499a3716542f363dd40#reply-608c1629a3716542f363dd8d)

Yeah, thank you so much!

[vaibhav kumar](https://hashnode.com/@vaibhavkumar)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608c10e5dc886b431800404e)

Thanks For Sharing.

[Siddharth Chandra](https://hashnode.com/@chandraji)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608c10e5dc886b431800404e#reply-608c133fdc886b4318004077)

Glad you found helpful 😊

[Saksham Singh](https://hashnode.com/@saksh)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608bdc1ac5e433364ff51720)

Awesome library.

[Siddharth Chandra](https://hashnode.com/@chandraji)

[Apr 30, 2021](https://hashnode.com/posts/how-to-convert-markdown-to-html-using-python/608bd851c5e433364ff516c1/comment/608bdc1ac5e433364ff51720#reply-608bdc58c3f19b3674ac0830)

Yep 😁
