Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
fix: remove useless logs that spam
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Jan 12, 2024
1 parent 5b85a12 commit a213bb4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_attributes/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,12 @@ def convert_text_attributes(markdown: str, config: Dict[str, str]) -> str:
or re.search(r"^\s*```(.*)", line)
):
code_blocks = True
print("START OF BLOCK ----- ", line)
elif code_blocks and (
line.startswith("```")
or re.search("</?.*?>", line)
or re.search(r"^\s*```", line)
):
code_blocks = False
print("END OF BLOCK ----- ", line)

elif (
re.search(r"#\w+", line)
Expand Down

0 comments on commit a213bb4

Please sign in to comment.