Skip to content

Commit c76248d

Browse files
committed
Update Example
1 parent a2524a6 commit c76248d

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,33 @@ Install with [npm](https://www.npmjs.com/):
1818
## Mdline Format
1919

2020
```
21-
## \d{4}-\d{2}-\d{2}: TITLE
21+
## {{Date}}: TITLE
2222
2323
MARKDOWN BODY
2424
25-
## \d{4}-\d{2}-\d{2}--\d{4}-\d{2}-\d{2}: TITLE
25+
## {{Date}}--{{Date}}: TITLE
2626
2727
MARKDOWN BODY
2828
```
2929

3030
**Example:**
3131

3232
```
33-
## 2011-01-16--2011-01-20: Date Ranges
33+
## 1997-06: ECMAScript 1
3434
35-
What is happened?
35+
First edition.
3636
37-
## 2012-01-24: OK
37+
## 1998-06: ECMAScript 2
3838
39-
OK
39+
Editorial changes to keep the specification fully aligned with ISO/IEC 16262 international standard.
40+
41+
## 1999-12: ECMAScript 3
42+
43+
Added regular expressions, better string handling, new control statements, try/catch exception handling, tighter definition of errors, formatting for numeric output and other enhancements.
44+
45+
## 2000-01--2007-10-23: [Abandoned] ECMAScript 4
46+
47+
Fourth Edition was abandoned, due to political differences concerning language complexity. Many features proposed for the Fourth Edition have been completely dropped; some were incorporated into the sixth edition.
4048
```
4149

4250
For more details, see [ECMAScript timeline markdown](packages/mdline/test/snapshots/example/input.md) and [HTML](packages/mdline/test/snapshots/example/output.html).

packages/mdline-formatter-html/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@
5555
},
5656
"publishConfig": {
5757
"access": "public"
58-
}
58+
},
59+
"gitHead": "a2524a6ac6b42f6fcd7ef5a91ef6d2c31a369f36"
5960
}

packages/mdline-parser/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@
6565
},
6666
"publishConfig": {
6767
"access": "public"
68-
}
68+
},
69+
"gitHead": "a2524a6ac6b42f6fcd7ef5a91ef6d2c31a369f36"
6970
}

packages/mdline/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,6 @@
6363
"ts-node": "^7.0.1",
6464
"ts-node-test-register": "^4.0.0",
6565
"typescript": "^3.2.2"
66-
}
66+
},
67+
"gitHead": "a2524a6ac6b42f6fcd7ef5a91ef6d2c31a369f36"
6768
}

packages/types/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,6 @@
5353
},
5454
"publishConfig": {
5555
"access": "public"
56-
}
56+
},
57+
"gitHead": "a2524a6ac6b42f6fcd7ef5a91ef6d2c31a369f36"
5758
}

0 commit comments

Comments
 (0)