Skip to content

Fix style command for blockquote tips - #645

Merged
mishig25 merged 1 commit into
huggingface:mainfrom
albertvillanova:fix-style-command-blockquote-tips
Oct 1, 2025
Merged

mishig25 merged 1 commit into
huggingface:mainfrom
albertvillanova:fix-style-command-blockquote-tips

Conversation

@albertvillanova

Copy link
Copy Markdown
Member

Fix style command for blockquote tips:

  • Fix style_docstring for blockquote tip markers

Currently, the style command malforms the docstrings containing blockquote tips:

doc-builder style --max_len 119 my_file.py

converts

"""
> [!WARNING]
> This is my warning message.
"""

to

"""
> [!WARNING] > This is my warning message.
"""

CC: @mishig25 who added the support for blockquote tips

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants