浏览代码

Update formatting of markdown scripts

pull/569/head
Dave Machado 6 年前
父节点
当前提交
7fb4f77080
找不到此签名对应的密钥 GPG 密钥 ID: 948D4778D01A7B3F
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      build/md2json.py
  2. +1
    -1
      build/validate_format.py

+ 1
- 1
build/md2json.py 查看文件

@@ -1,7 +1,7 @@
#!/usr/bin/env python3

import sys
import json
import sys


def markdown_to_json(filename, anchor):


+ 1
- 1
build/validate_format.py 查看文件

@@ -89,7 +89,7 @@ def check_format(filename):
# START Link
# url should be wrapped in '[Go!]()' Markdown syntax
link = segments[index_link]
if not link.startswith('[Go!](') or not link.endswith(')'):
if not link.startswith('[Go!](http') or not link.endswith(')'):
add_error(line_num, 'link format should be "[Go!](LINK)"')
# END Link
# END Check Entries


正在加载...
取消
保存