diff --git a/mysql-workbench-plugin-doc-generating.py b/mysql-workbench-plugin-doc-generating.py index 09869ba..f366429 100644 --- a/mysql-workbench-plugin-doc-generating.py +++ b/mysql-workbench-plugin-doc-generating.py @@ -13,7 +13,7 @@ @ModuleInfo.export(grt.INT, grt.classes.db_Catalog) def documentation(diagram): - text = "#Schema documentation\n\n" + text = "# Schema documentation\n\n" text += "Generated by MySQL Workbench Model Documentation v1.0.0 - Copyright (c) 2015 Hieu Le\n\n"; @@ -28,13 +28,13 @@ def documentation(diagram): return 0 def writeTableDoc(table): - text = "##Table: `" + table.name + "`\n\n" + text = "## Table: `" + table.name + "`\n\n" - text += "###Description: \n\n" + text += "### Description: \n\n" text += table.comment + "\n\n" - text += "###Columns: \n\n" + text += "### Columns: \n\n" text += "| Column | Data type | Attributes | Default | Description |\n| --- | --- | --- | --- | --- |\n"