Ver código fonte

Update formatting of markdown scripts

pull/569/head
Dave Machado 6 anos atrás
pai
commit
7fb4f77080
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 948D4778D01A7B3F
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      build/md2json.py
  2. +1
    -1
      build/validate_format.py

+ 1
- 1
build/md2json.py Ver arquivo

@@ -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 Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar