Skip to content

Commit

Permalink
style: update code name
Browse files Browse the repository at this point in the history
  • Loading branch information
DeppWang committed Jun 12, 2024
1 parent 0af64c7 commit b625f78
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/covert.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,13 @@ def convert_cd_func(self, content):

def convert_la_func(self, content):
"""高亮块"""
codes: list = content.get("5")
code_block = ""
for code in codes:
text = self._get_common_text(code)
code_block += text + "\n"
lines: list = content.get("5")
highlight_block = ""
for line in lines:
text = self._get_common_text(line)
highlight_block += text + "\n"

return "```\r\n{code_block}```".format(code_block=code_block)
return "```\r\n{highlight_block}```".format(highlight_block=highlight_block)

def convert_q_func(self, content):
"""引用"""
Expand Down

0 comments on commit b625f78

Please sign in to comment.