Commit 1a019ca
Sergei Orlov
🐛 Compose page title from all chunks it includes
Date, user, and page mentions are added as plain text
The title is trimmed
CAVEAT: Mentioning a page that has a title mentioning a date will produce a title different from the same title of the mentioned page. E.g.: 'Page1 @yesterday' will be transformed into 'Page1 2021-05-15' as of today, but 'Post2 @post1' will produce 'Post2 Post1 @yesterday'. That's what Notion API returns right now1 parent 9cdb197 commit 1a019ca
1 file changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
28 | 54 | | |
29 | 55 | | |
30 | 56 | | |
31 | | - | |
| 57 | + | |
32 | 58 | | |
33 | 59 | | |
34 | 60 | | |
| |||
0 commit comments