Skip to content

Instantly share code, notes, and snippets.

working anywhere

Joon Hwan 김준환 xncbf

working anywhere
View GitHub Profile
lorey /
Created Aug 27, 2017
Markdown to Plaintext in Python
from bs4 import BeautifulSoup
from markdown import markdown
def markdown_to_text(markdown_string):
""" Converts a markdown string to plaintext """
# md -> html -> text since BeautifulSoup can extract text cleanly
html = markdown(markdown_string)
# remove code snippets
PurpleBooth /
Last active Oct 15, 2020
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


You can’t perform that action at this time.