Skip to content

Commit

Permalink
✨ 新增特殊装饰器提示
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Aug 31, 2024
1 parent 4044f35 commit b92a965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litedoc/syntax/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def markdown(self, lang: str, indent: int = 0, **kwargs) -> str:
if len(self.decorators) > 0:
for decorator in self.decorators:
if decorator in special_decorators:
md += PREFIX + f"@[`{decorator}`]({special_decorators[decorator]})\n"
md += PREFIX + f"[`@{decorator}`]({special_decorators[decorator]})\n"
else:
md += PREFIX + f"`@{decorator}`\n"

Expand Down

0 comments on commit b92a965

Please sign in to comment.