File: entity_encoding_test.ronn

package info (click to toggle)
ruby-ronn 0.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: ruby: 1,587; sh: 22; makefile: 9
file content (34 lines) | stat: -rw-r--r-- 964 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# hello(1) -- hello world

Your output <i>might</i> look like this:

    * Chris
    *
    * <b>GitHub</b>
    * <b>GitHub</b>

Here's some special entities:

  * &amp;bull;       &bull;
  * &amp;nbsp;       &nbsp;
  * &amp;copy;       &copy;
  * &amp;rdquo;      &rdquo;
  * &amp;mdash;      &mdash;
  * &amp;reg;        &reg;
  * &amp;sect;       &sect;
  * &amp;ge;         &ge;
  * &amp;le;         &le;
  * &amp;ne;         &ne;
  * &amp;equiv;      &equiv;

Here's a line that uses non-breaking spaces to force the
last&nbsp;few&nbsp;words&nbsp;to&nbsp;wrap&nbsp;together.

And stuff like this:

git bulk [-g] ([-a]|[-w &lt;ws-name&gt;]) &lt;git command&gt; <br/>
git bulk --addworkspace &lt;ws-name&gt; &lt;ws-root-directory&gt; (--from &lt;URL or file&gt;) <br/>
git bulk --removeworkspace &lt;ws-name&gt; <br/>

Should have the `&lt;`/`&gt;` entities stay as `&lt;`/`&gt;` in HTML, but be
turned into literal brackets in the ROFF.