Although not strictly Bootstrap, the standard samp tag can be used to denote output:
<samp>Lorem ipsum dolor sit amet, consectetur adipiscing elit</samp>
Figure 8.15: Using the samp tag to denote output
Source: Jakobus Benjamin, Marah Jason (2018), Mastering Bootstrap 4: Master the latest version of Bootstrap 4 to build highly customized responsive web apps, Packt Publishing; 2nd Revised edition.