Source

Koodu

Iwe ati awọn apẹẹrẹ fun iṣafihan opopo ati awọn bulọọki multiline ti koodu pẹlu Bootstrap.

Opopo koodu

Pa awọn snippets inline ti koodu pẹlu <code>. Rii daju lati sa fun awọn biraketi igun HTML.

Fun apẹẹrẹ, <section>yẹ ki o wa ni ti a we bi inline.
For example, <code>&lt;section&gt;</code> should be wrapped as inline.

Awọn bulọọki koodu

Lo <pre>s fun ọpọ ila ti koodu. Lẹẹkansi, rii daju pe o sa fun awọn biraketi igun eyikeyi ninu koodu fun ṣiṣe deede. O le ṣe afikun .pre-scrollablekilaasi ni yiyan, eyiti yoo ṣeto giga-giga ti 350px ati pese ọpa lilọ-y-axis kan.

<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>

Awọn oniyipada

Fun afihan awọn oniyipada lo <var>tag.

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

Iṣagbewọle olumulo

Lo <kbd>lati tọka titẹ sii ti o jẹ igbagbogbo titẹ nipasẹ keyboard.

Lati yipada awọn ilana, tẹ cdorukọ ti itọsọna naa tẹle.
Lati ṣatunkọ eto, tẹ 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>

Apeere igbejade

Fun afihan abajade ayẹwo lati inu eto kan lo <samp>tag.

Ọrọ yii jẹ itumọ lati ṣe itọju bi abajade ayẹwo lati inu eto kọnputa kan.
<samp>This text is meant to be treated as sample output from a computer program.</samp>