diff --git a/MarkdownBuildClass.py b/MarkdownBuildClass.py index fda077f..f785b1d 100644 --- a/MarkdownBuildClass.py +++ b/MarkdownBuildClass.py @@ -1,7 +1,7 @@ # -*- coding:utf-8 -*- class MarkDownBuild: - table_header = '|字段名称|字段类型|字段含义|\n|:--:|:--:|:--:|\n' + table_header = '|字段名称|字段类型|字段含义|\n|:---:|:---:|:---:|\n' table_content_template = '|%s|%s|%s|\n' def __init__(self): @@ -15,4 +15,4 @@ class MarkDownBuild: for column in table[1]: text = text + '|' + column[0] + '|' + column[1] + '|' + column[2] + '|\n' text += '\n' - return text \ No newline at end of file + return text