# coding: utf-8
import os
import sys
from utils.func import md_to_html, index_builder

get_MD = sys.argv[1]
give_HTML = "./articles"

if not os.path.exists(give_HTML):
    os.makedirs(give_HTML)

list_files_MD = os.listdir(get_MD)

list_files_MD = [md_to_html(get_MD, n, give_HTML) for n in list_files_MD if n.endswith(".md")]

index_builder()




ccd8ba28bdf36a05f50cf56a45b981e5e92676f6
<mask token>

<mask token>
if not os.path.exists(give_HTML):
    os.makedirs(give_HTML)
<mask token>
index_builder()

<mask token>
get_MD = sys.argv[1]
give_HTML = './articles'
if not os.path.exists(give_HTML):
    os.makedirs(give_HTML)
list_files_MD = os.listdir(get_MD)
list_files_MD = [md_to_html(get_MD, n, give_HTML) for n in list_files_MD if
    n.endswith('.md')]
index_builder()

import os
import sys
from utils.func import md_to_html, index_builder
get_MD = sys.argv[1]
give_HTML = './articles'
if not os.path.exists(give_HTML):
    os.makedirs(give_HTML)
list_files_MD = os.listdir(get_MD)
list_files_MD = [md_to_html(get_MD, n, give_HTML) for n in list_files_MD if
    n.endswith('.md')]
index_builder()

# coding: utf-8
import os
import sys
from utils.func import md_to_html, index_builder

get_MD = sys.argv[1]
give_HTML = "./articles"

if not os.path.exists(give_HTML):
    os.makedirs(give_HTML)

list_files_MD = os.listdir(get_MD)

list_files_MD = [md_to_html(get_MD, n, give_HTML) for n in list_files_MD if n.endswith(".md")]

index_builder()



