Skip to content

Commit

Permalink
add sql language designator to markdown code block
Browse files Browse the repository at this point in the history
  • Loading branch information
anuthebananu committed Dec 17, 2024
1 parent 6edff74 commit 940d8ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def default_description_fn(dbt_resource_props: Mapping[str, Any], display_raw_sq
or f"dbt {dbt_resource_props['resource_type']} {dbt_resource_props['name']}",
]
if display_raw_sql:
description_sections.append(f"#### Raw SQL:\n```\n{code_block}\n```")
description_sections.append(f"#### Raw SQL:\n```sql\n{code_block}\n```")
return "\n\n".join(filter(None, description_sections))


Expand Down

0 comments on commit 940d8ff

Please sign in to comment.