优化生成的markdown文件在IDEA编辑器中文档显示问题

This commit is contained in:
SanLi
2020-08-18 09:29:42 +08:00
parent bd8697c956
commit 8a0d1bb02d
2 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@
</#if>
| 表名 | 说明 |
| :-------------------- | :--------- |
| :---: | :---: |
<#list tables>
<#items as t>
| [${t.tableName!''}](#${t.tableName!''}) | ${t.remarks!''} |
@@ -48,7 +48,7 @@
<#list t.columns>
| 序号 | 名称 | 数据类型 | 长度 | 小数位 | 允许空值 | 主键 | 默认值 | 说明 |
| :--: | :--- | :------: | :----: | :----: | :------: | :--: | :----: | :--: |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
<#items as c>
| ${c?index+1} | ${c.columnName!''} | ${c.typeName!''} | ${c.columnSize!''} | ${c.decimalDigits!'0'} | ${c.nullable!''} | ${c.primaryKey!''} | ${c.columnDef!''} | ${c.remarks!''} |
</#items>

View File

@@ -30,7 +30,7 @@
#end
| 表名 | 说明 |
| :-------------------- | :--------- |
| :---: | :---: |
#foreach($t in $_data.tables)
| [$!{t.tableName}](#$!{t.tableName}) | $!{t.remarks} |
#end
@@ -43,7 +43,7 @@
**数据列:**
| 序号 | 名称 | 数据类型 | 长度 | 小数位 | 允许空值 | 主键 | 默认值 | 说明 |
| :--: | :--- | :------: | :----: | :----: | :------: | :--: | :----: | :--: |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
#foreach($c in $t.columns)
| $!{velocityCount} | $!{c.columnName} | $!{c.typeName} | $!{c.columnSize} | #if($!{c.decimalDigits})$!{c.decimalDigits}#else 0#end | $!{c.nullable}| $!{c.primaryKey} | $!{c.columnDef} | $!{c.remarks} |
#end