# Path: engine/conf.py
# PATH_TO_IMG = PATH + '/notes/'
# 
# PATH_TO_MD = PATH + '/notes/'
# 
# PATH_TO_ORIG = PATH + "/engine/data/orig/"


import re
import os
import random
import string
import logging
    import requests
from engine.conf import PATH_TO_IMG, PATH_TO_MD, PATH_TO_ORIG
    from bs4 import BeautifulSoup as bs
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""This is a set of functions that work on Markdown file, before compiling them to html.

Go to page.py (Page) pre_process to add a new function from here."""



logger = logging.getLogger('geekbook')
logger.setLevel(logging.INFO)



# Path: engine/conf.py
# PATH_TO_IMG = PATH + '/notes/'
# 
# PATH_TO_MD = PATH + '/notes/'
# 
# PATH_TO_ORIG = PATH + "/engine/data/orig/"


# Path: engine/process_md.py
import re
import os
import random
import string
import logging
    import requests
from engine.conf import PATH_TO_IMG, PATH_TO_MD, PATH_TO_ORIG
    from bs4 import BeautifulSoup as bs

#!/usr/bin/python
# -*- coding: utf-8 -*-

"""This is a set of functions that work on Markdown file, before compiling them to html.

Go to page.py (Page) pre_process to add a new function from here."""



logger = logging.getLogger('geekbook')
logger.setLevel(logging.INFO)



def right_MD_from_webservices(text):