Skip to content

Commit

Permalink
TEMP add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Feb 4, 2024
1 parent 32761e9 commit 341d2a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/antsibull_changelog/rendering/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def get_language_from_literal_block(node: nodes.literal_block) -> str | None:
"""
Obtain programming language from a literal block.
"""
print(f"!!!! LITERAL BLOCK ATTRIBUTES: {node.attributes}")
print(f'!!!! LITERAL BLOCK CLASSES: {node.attributes["classes"]}')
for class_name in node.attributes["classes"]:
if class_name not in ("code", "code-block"):
return class_name
Expand Down

0 comments on commit 341d2a0

Please sign in to comment.