From ccd71ee220093774a35708d8c1e31936b012930a Mon Sep 17 00:00:00 2001 From: Dimitar Milev Date: Sat, 3 Nov 2018 12:52:28 +0100 Subject: 81352 - homework 2 (#32) * fix(hw1): use yyextra instead global variable * hw2: extended the typescript syntax highlighter with collapsible block structures --- homework/81352/ts2html-hw2/example.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 homework/81352/ts2html-hw2/example.html (limited to 'homework/81352/ts2html-hw2/example.html') diff --git a/homework/81352/ts2html-hw2/example.html b/homework/81352/ts2html-hw2/example.html new file mode 100644 index 0000000..6e3e323 --- /dev/null +++ b/homework/81352/ts2html-hw2/example.html @@ -0,0 +1,15 @@ +
1. @Decorator()
+2. class A {
+3. public a?: string; +4. public b?: A; +5. public func = (): string => {
+6. return this.a; +7.
} +8.
} +9. +10. // comment +11. const x = "hello" + " " + "world" + 1; +12. +13. {
+14. const b = 3; +15.
}
\ No newline at end of file -- cgit v1.3.1-26-gb76a