Source

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.

Misol uchun, <section>inline sifatida o'ralgan bo'lishi kerak.
For example, <code>&lt;section&gt;</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-scrollablesinfni qo'shishingiz mumkin, bu maksimal balandlik 350px 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>&lt;p&gt;Sample text here...&lt;/p&gt;
&lt;p&gt;And another line of sample text here...&lt;/p&gt;
</code></pre>

O'zgaruvchilar

O'zgaruvchilarni ko'rsatish uchun <var>tegdan foydalaning.

y = m x + b
<var>y</var> = <var>m</var><var>x</var> + <var>b</var>

Foydalanuvchi kiritish

<kbd>Odatda klaviatura orqali kiritiladigan kiritishni ko'rsatish uchun foydalaning .

Kataloglarni almashtirish uchun, cdkeyin katalog nomini kiriting.
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.

Ushbu matn kompyuter dasturidan olingan namuna sifatida ko'rib chiqilishi kerak.
<samp>This text is meant to be treated as sample output from a computer program.</samp>