File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -214,22 +214,22 @@ var end = "<!-- /env-variables -->"
214
214
// parseMarkdownEnv extracts the env.md to be:
215
215
// - header: content before the env variables section
216
216
// - body: the content between start and end markers
217
- // - generalTableTitle : the first title (## ...) after the start marker
218
- // - tableFields: the first table header row after the general table title
217
+ // - firstTableTitle : the first title (## ...) after the start marker
218
+ // - tableFields: the first table header row after the first table title
219
219
// - footer: content after the env variables section
220
220
//
221
221
// For example, given a snippet from env.md:
222
222
// ```md
223
- // ...header...
224
- // <!-- env-variables -->
225
- // ## 通用配置
223
+ // ...header...
224
+ // <!-- env-variables -->
225
+ // ## 通用配置
226
226
//
227
- // | 环境变量 | 默认值 | 描述 | 路径 |
228
- // | --- | --- | --- | --- |
229
- // | **ATK_ADMIN_USERS** | `[]` | 管理员账户 | admin_users (管理员账户) |
230
- // ...more tables...
231
- // <!-- /env-variables -->
232
- // ...footer...
227
+ // | 环境变量 | 默认值 | 描述 | 路径 |
228
+ // | --- | --- | --- | --- |
229
+ // | **ATK_ADMIN_USERS** | `[]` | 管理员账户 | admin_users (管理员账户) |
230
+ // ...more tables...
231
+ // <!-- /env-variables -->
232
+ // ...footer...
233
233
// ```
234
234
// The function should return:
235
235
// header: "...header...\n"
You can’t perform that action at this time.
0 commit comments