diff --git a/docs/stream-aggregation.md b/docs/stream-aggregation.md
index 504a8f5b47..ec3bf71d9a 100644
--- a/docs/stream-aggregation.md
+++ b/docs/stream-aggregation.md
@@ -137,7 +137,7 @@ to one sample per 5 minutes per each input time series (this operation is also k
 
 The aggregated output metrics have the following names according to [output metric naming](#output-metric-names):
 
-```
+```text
 # For input metrics ending with _total
 some_metric_total:5m_total