Markdown Syntax Memo

1 min read

official doc

Heading level 1

Heading level 2

Line Breaks

To create a line break (<br>), end a line with two or more spaces, and then type return.
like this.

blockquote

To create a blockquote, add a > in front of a paragraph.

Images

wavelet

Code Blocks

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

__version__ = '0.0.1'
from os import environ as env
import sys
import traceback

import pandas as pd

import sqlServerConn

def main():
    try:
        print("---SP2SQL_HELPER start---")
        keymap = parse_def_file('./csv/tasklist_def.csv')
        sql = parse_import_file('./csv/tasklist_st.csv',keymap)
        # connect to sql server
        server = env.get('SERVER')
        database = env.get('DATABASE')
        username = env.get('USERNAME')
        password = env.get('PASSWORD')
        sqlServer = sqlServerConn.connect(server,database,username,password)
        cursor = sqlServer.cursor()
        res = cursor.execute(sql)
        cursor.commit()
        print(res)
        sys.exit(0)
    except Exception as e:
        print("FATAL:" + " ".join(traceback.format_exc().splitlines()))
        sys.exit(1)
    finally:
        print("---SP2SQL_HELPER end---")

if __name__ == '__main__':
    main()

Horizontal Rules

To create a horizontal rule, use three or more asterisks (***), dashes (—), or underscores (___) on a line by themselves.
like this