File: code_blocks.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 (41 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (5)
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
35
36
37
38
39
40
41
Example Code Blocks
===================

## Basic code block

```
Hello, world!
```

## Language-identified code blocks

```html
<html>
  <head>
    <title>Hello, world!</title>
  </head>
  <body>
    Hello, world!
  </body>
</html>
```

## Interspersed code blocks and text

Some text.

```
Some code.
```

Here's some &lt;pre> text.

<pre>
    This is pre text.
</pre>

Some more text.

```
Some more code.
```