Kode
Inyandiko n'ingero zo kwerekana inline na multiline blok ya code hamwe na Bootstrap.
Kuzuza ibice bya kode hamwe <code>
. Wemeze guhunga HTML inguni.
Kurugero,
<section>
bigomba gupfunyika nkumurongo.
For example, <code><section></code> should be wrapped as inline.
Koresha <pre>
s kumirongo myinshi ya code. Na none kandi, menya neza guhunga inguni iyo ari yo yose muri kode kugirango itangwe neza. Urashobora guhitamo kongeramo urwego .pre-scrollable
, ruzashyiraho uburebure bwa 350px hanyuma utange y-axis umuzingo.
<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>
Kugirango werekane impinduka koresha <var>
tagi.
y =
m
x +
b
<var>y</var> = <var>m</var><var>x</var> + <var>b</var>
Koresha i <kbd>
kugirango werekane ibyinjijwe mubisanzwe byinjiye muri clavier.
Guhindura ububiko, andika
cdukurikizaho izina ryubuyobozi.
Guhindura igenamiterere, kanda ctrl + ,
Guhindura igenamiterere, kanda 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>
Kugirango werekane icyitegererezo gisohoka muri porogaramu koresha <samp>
tagi.
Iyi nyandiko igamije gufatwa nkicyitegererezo gisohoka muri porogaramu ya mudasobwa.
<samp>This text is meant to be treated as sample output from a computer program.</samp>