Pārlūkot izejas kodu

Update formatting of markdown scripts

pull/569/head
Dave Machado pirms 6 gadiem
vecāks
revīzija
7fb4f77080
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 948D4778D01A7B3F
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      build/md2json.py
  2. +1
    -1
      build/validate_format.py

+ 1
- 1
build/md2json.py Parādīt failu

@@ -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 Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt