|
| 1 | +[ |
| 2 | + {"type":"Comment","value":"; Comment at the top"}, |
| 3 | + {"type":"Text","value":"\n"}, |
| 4 | + {"type":"NameFunction","value":"MYPROGRAM"}, |
| 5 | + {"type":"Punctuation","value":"("}, |
| 6 | + {"type":"LiteralNumber","value":"1"}, |
| 7 | + {"type":"Punctuation","value":")"}, |
| 8 | + {"type":"Text","value":" \"User Manual\"\n\n"}, |
| 9 | + {"type":"GenericHeading","value":"#"}, |
| 10 | + {"type":"Text","value":" "}, |
| 11 | + {"type":"GenericStrong","value":"NAME"}, |
| 12 | + {"type":"Text","value":"\n\nmyprogram - does something useful\n\n"}, |
| 13 | + {"type":"GenericSubheading","value":"##"}, |
| 14 | + {"type":"Text","value":" SYNOPSIS\n\n"}, |
| 15 | + {"type":"Punctuation","value":"*"}, |
| 16 | + {"type":"GenericStrong","value":"myprogram"}, |
| 17 | + {"type":"Punctuation","value":"*"}, |
| 18 | + {"type":"Text","value":" ["}, |
| 19 | + {"type":"Punctuation","value":"_"}, |
| 20 | + {"type":"GenericUnderline","value":"options"}, |
| 21 | + {"type":"Punctuation","value":"_"}, |
| 22 | + {"type":"Text","value":"] "}, |
| 23 | + {"type":"Punctuation","value":"_"}, |
| 24 | + {"type":"GenericUnderline","value":"file"}, |
| 25 | + {"type":"Punctuation","value":"_"}, |
| 26 | + {"type":"Text","value":"\n\n"}, |
| 27 | + {"type":"GenericHeading","value":"#"}, |
| 28 | + {"type":"Text","value":" "}, |
| 29 | + {"type":"GenericStrong","value":"DESCRIPTION"}, |
| 30 | + {"type":"Text","value":"\n\nThis has "}, |
| 31 | + {"type":"Punctuation","value":"*"}, |
| 32 | + {"type":"GenericStrong","value":"bold text"}, |
| 33 | + {"type":"Punctuation","value":"*"}, |
| 34 | + {"type":"Text","value":" and "}, |
| 35 | + {"type":"Punctuation","value":"_"}, |
| 36 | + {"type":"GenericUnderline","value":"underlined text"}, |
| 37 | + {"type":"Punctuation","value":"_"}, |
| 38 | + {"type":"Text","value":".\n\nNote that in_the_middle_of underscores are ignored.\n\nLine breaks work"}, |
| 39 | + {"type":"Operator","value":"++"}, |
| 40 | + {"type":"Text","value":"\nlike this.\n\n"}, |
| 41 | + {"type":"GenericSubheading","value":"##"}, |
| 42 | + {"type":"Text","value":" OPTIONS\n\n"}, |
| 43 | + {"type":"Keyword","value":"- "}, |
| 44 | + {"type":"Punctuation","value":"*"}, |
| 45 | + {"type":"GenericStrong","value":"-h"}, |
| 46 | + {"type":"Punctuation","value":"*"}, |
| 47 | + {"type":"Text","value":", "}, |
| 48 | + {"type":"Punctuation","value":"*"}, |
| 49 | + {"type":"GenericStrong","value":"--help"}, |
| 50 | + {"type":"Punctuation","value":"*"}, |
| 51 | + {"type":"Text","value":"\n"}, |
| 52 | + {"type":"LiteralStringBacktick","value":"\tShow help"}, |
| 53 | + {"type":"Text","value":"\n\t"}, |
| 54 | + {"type":"Keyword","value":"- "}, |
| 55 | + {"type":"Text","value":"Nested item with tab\n\t\t"}, |
| 56 | + {"type":"Keyword","value":"- "}, |
| 57 | + {"type":"Text","value":"Deeply nested\n\n"}, |
| 58 | + {"type":"Keyword","value":". "}, |
| 59 | + {"type":"Text","value":"First item\n"}, |
| 60 | + {"type":"Keyword","value":". "}, |
| 61 | + {"type":"Text","value":"Second item\n\t"}, |
| 62 | + {"type":"Keyword","value":". "}, |
| 63 | + {"type":"Text","value":"Nested numbered item with continuation\n\t that spans multiple lines\n\n"}, |
| 64 | + {"type":"GenericHeading","value":"#"}, |
| 65 | + {"type":"Text","value":" "}, |
| 66 | + {"type":"GenericStrong","value":"EXAMPLES"}, |
| 67 | + {"type":"Text","value":"\n\nLiteral block:\n\n"}, |
| 68 | + {"type":"LiteralStringBacktick","value":"```\ncode example\n```"}, |
| 69 | + {"type":"Text","value":"\n\nTab-indented:\n\n"}, |
| 70 | + {"type":"LiteralStringBacktick","value":"\tliteral text"}, |
| 71 | + {"type":"Text","value":"\n\n"}, |
| 72 | + {"type":"GenericHeading","value":"#"}, |
| 73 | + {"type":"Text","value":" "}, |
| 74 | + {"type":"GenericStrong","value":"TABLE"}, |
| 75 | + {"type":"Text","value":"\n\n"}, |
| 76 | + {"type":"Punctuation","value":"| Row 1"}, |
| 77 | + {"type":"Text","value":"\n"}, |
| 78 | + {"type":"Punctuation","value":": Cell 1"}, |
| 79 | + {"type":"Text","value":"\n"}, |
| 80 | + {"type":"Punctuation","value":":- Cell 2"}, |
| 81 | + {"type":"Text","value":"\n\n"}, |
| 82 | + {"type":"GenericHeading","value":"#"}, |
| 83 | + {"type":"Text","value":" "}, |
| 84 | + {"type":"GenericStrong","value":"ESCAPES"}, |
| 85 | + {"type":"Text","value":"\n\nThis is "}, |
| 86 | + {"type":"LiteralStringEscape","value":"\\*"}, |
| 87 | + {"type":"Text","value":"not bold"}, |
| 88 | + {"type":"LiteralStringEscape","value":"\\*"}, |
| 89 | + {"type":"Text","value":" and "}, |
| 90 | + {"type":"LiteralStringEscape","value":"\\_"}, |
| 91 | + {"type":"Text","value":"not underlined"}, |
| 92 | + {"type":"LiteralStringEscape","value":"\\_"}, |
| 93 | + {"type":"Text","value":".\n"} |
| 94 | +] |
0 commit comments