File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ def md_to_steam_bbcode(md: str) -> str:
8686 new_l = "[/quote]\n " + new_l
8787 open_quote = False
8888
89+ # Bold
8990 if "**" in new_l :
9091 while "**" in new_l :
9192 if open_b :
@@ -95,6 +96,7 @@ def md_to_steam_bbcode(md: str) -> str:
9596 new_l = new_l .replace ("**" , "[b]" , 1 )
9697 open_b = True
9798
99+ # Cursive
98100 if "*" in new_l :
99101 while "*" in new_l and not (new_l .startswith ("[*]" ) and new_l .count ("*" ) <= 1 ):
100102 if open_i :
@@ -137,8 +139,8 @@ def path_adjustments() -> str:
137139
138140 return new_path
139141
140- def main ():
141142
143+ def main ():
142144 mod_dir = path_adjustments ()
143145 os .chdir (mod_dir )
144146
@@ -157,7 +159,6 @@ def main():
157159 for i in EXCLUDE_DIRS :
158160 args .append (i )
159161
160-
161162 if UPLOAD_DESC :
162163 desc_src_path = os .path .join (mod_dir , "description.md" )
163164
You can’t perform that action at this time.
0 commit comments