Skip to content

Commit

Permalink
add 3bqが複数回続くケースは想定しなくて良いと舵切り.
Browse files Browse the repository at this point in the history
  • Loading branch information
stakiran committed Apr 29, 2021
1 parent e22bb6e commit bd5c2c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib_scblines2markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,8 @@ def line_to_start_of_codeblock_if_possible(line):
return line

# 1
prefix, langname_part = newline.split('```')
MULTI_3BQ_IS_NO_NEED_TO_ASSUME = 1
prefix, langname_part = newline.split('```', MULTI_3BQ_IS_NO_NEED_TO_ASSUME)
splitted_by_dot = langname_part.split('.')
has_not_extension = len(splitted_by_dot)==1
if has_not_extension:
Expand Down

0 comments on commit bd5c2c7

Please sign in to comment.