Skip to content

Commit 818205c

Browse files
committed
Misc docs, Added more Unicode Constants
1 parent 2b7e0d3 commit 818205c

2 files changed

Lines changed: 33 additions & 16 deletions

File tree

source-modules/Unicode.Constants.pq

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
11
[
22
/*
3-
See Also: Links For Finding Unicode Characters
3+
See Also:
4+
5+
Links For Finding Unicode Characters
6+
47
- https://www.compart.com/en/unicode/block
58
- https://emojipedia.org/zero-width-joiner
69
- https://emojipedia.org/emoji-zwj-sequence
710

8-
See also: Related functions
9-
- Character.ToNumber()
10-
- Character.FromNumber()
11+
Related Functions
12+
13+
- Character.ToNumber() : Converts string to codepoint
14+
- Character.FromNumber() : Converts codepoint to string
15+
1116
*/
1217

1318
// extra aliases
14-
CrLf = LineEnding.CrLf,
15-
NL = LineEnding.Lf,
16-
ZWJ = Zero.Width.Joiner,
19+
CrLf = LineEnding.CrLf,
20+
NL = LineEnding.Lf,
21+
ZWJ = Zero.Width.Joiner,
1722

1823
// whitespace and control chars
19-
Indent = " ",
20-
LineEnding.Cr = "#(cr)", // is \r
21-
LineEnding.Lf = "#(lf)", // is \n
22-
LineEnding.CrLf = "#(cr,lf)", // is \r\n
23-
Tab = "#(tab)", // is \t
24-
Space = " ", // is " "
25-
Zero.Width.Joiner = "#(200d)", // is zwj
24+
Indent = " ",
25+
LineEnding.Cr = "#(cr)", // is \r
26+
LineEnding.Lf = "#(lf)", // is \n
27+
LineEnding.CrLf = "#(cr,lf)", // is \r\n
28+
Tab = "#(tab)", // is \t
29+
Space = " ", // is " "
30+
Zero.Width.Joiner = "#(200d)", // is zwj
31+
Zero.Width.Space = "#(200b)", // is zws
32+
NullString = "#(0000)", // is \0
2633

2734
// regular characters
28-
Triangle.Right.Small = "#(25b8)", // is ▸
35+
Triangle.Right.Small = "#(25b8)", // is ▸
2936

3037
/*
3138
symbols: used to replace control characters and escape sequences with safe to print symbols
@@ -43,6 +50,11 @@
4350
Symbol.RecordSeparator = "#(241e)", // is ␞
4451
Symbol.UnitSeparator = "#(241f)", // is ␟
4552

53+
Bullet = "#(2022)", // is •
54+
55+
Emoji.ThumbsUp = "#(0001f44d)", // is 👍
56+
Emoji.ThumbsDown = "#(0001f44e)", // is 👎
57+
4658
Emoji.Monkey = "#(0001f412)" // is 🐒
4759

4860
/* Powershell

source-modules/Write.Html.module.pq

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
[
2-
/* a colleciton of functions to write Html Elements, or use StringBuilders
2+
/*
3+
About:
4+
colleciton of functions to write Html Elements
5+
6+
See also:
7+
StringBuilder.module.pq
38
*/
49

510
// Write.Html.Bold = (source as text) as text => "<b>" & source & "</b>",

0 commit comments

Comments
 (0)