Kod
Bootstrap yordamida kodning ichki va ko'p qatorli bloklarini ko'rsatish uchun hujjatlar va misollar.
Inline kod
Kodning ichki qismlarini bilan o'rab oling <code>
. HTML burchakli qavslardan qochishingizga ishonch hosil qiling.
<section>
inline sifatida o'ralgan bo'lishi kerak.
For example, <code><section></code> should be wrapped as inline.
Kod bloklari
<pre>
Kodning bir nechta satri uchun s dan foydalaning . Yana bir bor, to'g'ri ko'rsatish uchun koddagi har qanday burchakli qavslardan qochishingizga ishonch hosil qiling. Siz ixtiyoriy ravishda .pre-scrollable
sinfni qo'shishingiz mumkin, bu maksimal balandlik 340px o'rnatadi va Y o'qi aylantirish panelini ta'minlaydi.
<p>Sample text here...</p>
<p>And another line of sample text here...</p>
<pre><code><p>Sample text here...</p>
<p>And another line of sample text here...</p>
</code></pre>
O'zgaruvchilar
O'zgaruvchilarni ko'rsatish uchun <var>
tegdan foydalaning.
<var>y</var> = <var>m</var><var>x</var> + <var>b</var>
Foydalanuvchi kiritish
<kbd>
Odatda klaviatura orqali kiritiladigan kiritishni ko'rsatish uchun foydalaning .
Sozlamalarni tahrirlash uchun bosing ctrl + ,
To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br>
To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd>
Chiqish namunasi
Dasturning namunaviy chiqishini ko'rsatish uchun <samp>
tegdan foydalaning.
<samp>This text is meant to be treated as sample output from a computer program.</samp>