~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/rest/inline_feature.test

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Foo *emphasis*.
 
2
**Strong** bar.
 
3
This is `interpreted text`.
 
4
:role:`interpreted text`
 
5
`interpreted text`:role:
 
6
``inline literals``
 
7
This is a regexp: ``[+-]?(\d+(\.\d*)?|\.\d+)``
 
8
Usage of |substitution|.
 
9
 
 
10
----------------------------------------------------
 
11
 
 
12
[
 
13
        "Foo ",
 
14
        ["inline", [
 
15
            ["punctuation", "*"], ["italic", "emphasis"], ["punctuation", "*"]
 
16
    ]],
 
17
    ".\r\n",
 
18
    ["inline", [
 
19
        ["punctuation", "**"], ["bold", "Strong"], ["punctuation", "**"]
 
20
    ]],
 
21
    " bar.\r\nThis is ",
 
22
    ["inline", [
 
23
        ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctuation", "`"]
 
24
    ]],
 
25
    ".\r\n",
 
26
    ["inline", [
 
27
        ["role", [
 
28
            ["punctuation", ":"], "role", ["punctuation", ":"]
 
29
        ]],
 
30
        ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctuation", "`"]
 
31
    ]],
 
32
    ["inline", [
 
33
        ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctuation", "`"],
 
34
        ["role", [
 
35
            ["punctuation", ":"], "role", ["punctuation", ":"]
 
36
        ]]
 
37
    ]],
 
38
    ["inline", [
 
39
        ["punctuation", "``"], ["inline-literal", "inline literals"], ["punctuation", "``"]
 
40
    ]],
 
41
    "\r\nThis is a regexp: ",
 
42
    ["inline", [
 
43
        ["punctuation", "``"], ["inline-literal", "[+-]?(\\d+(\\.\\d*)?|\\.\\d+)"], ["punctuation", "``"]
 
44
    ]],
 
45
    "\r\nUsage of ",
 
46
    ["inline", [
 
47
        ["punctuation", "|"], ["substitution", "substitution"], ["punctuation", "|"]
 
48
    ]],
 
49
    "."
 
50
]
 
51
 
 
52
----------------------------------------------------
 
53
 
 
54
Checks for most inline markup: emphasis, bold, interpreted text,
 
55
roles, inline literals and substitutions.
 
 
b'\\ No newline at end of file'