Showing a long vector in HTML

I would like to show the headers of a large dataframe: ⁓ 100 columns, each one having a long name. If I just write

---
title: "test"
output: 
  html_document:
    keep_md: true
    fig_caption: yes
---

<style>
p.caption {
  font-size: 0.8em;
}
</style>

```{r setup, include=FALSE}
library(knitr)
library(readr)
library(dplyr)
library(ggplot2)
library(mgcv)
opts_chunk$set(warning = FALSE,
               message = FALSE,
               fig.align = "center")
my_data <- rep("supercalifragilisticexpialidocious", 100)
colnames(my_data)

the HTML output will show a very long vector, on the same row, which is very unsightly. Is there a way to break the output on multiple rows?

Forget it -it's working now. Weird!