Revisión de Formatting on the Trisquel forum de Lun, 08/05/2024 - 05:46

As revisións permítenlle rastrexar as diferenzas que hai entre distintas versións dunha entrada.

Besides plaintext we can use some HTML markup on the Trisquel forums. The following tags can be used (among others): <img> <a> <em> <strong> <code> <strike>.

Elements may have attributes, some mandatory, some optional. Note that you can combine elements by nesting them. Examples follow.

<img>

This tag is used to embed pictures. Attributes: alt, title
<img src="https://trisquel.info/files/store.png" alt="Instead" title="Mouseover1">
Instead

<a>

This tag is used to link text to a URL. (Plain URLs themselves will make a link too here.) Attributes: title
<a href="https://trisquel.info/en/donate" title="Mouseover2">Donate here</a>
Donate here

<em>

This tag is used to emphasize text. (usually italics)
You <em>really</em> need to focus
You really need to focus

<strong>

This tag is used to strongly emphasize text (usually bold)
Trisquel is a <strong>great</strong> distro
Trisquel is a great distro

<code>

This tag is used to make a cute yellow box
<code>head /proc/{cpuinfo,meminfo}</code>
head /proc/{cpuinfo,meminfo}

<strike>

This tag is used to strike over text
<strike>This requires a blob.</strike> It's been liberated!
This requires a blob. It's been liberated!

Revisión

10/12/2015 - 08:56
lembas
08/05/2024 - 05:46
knife