Commit Graph

163 Commits

Author SHA1 Message Date
Sergio Martínez Portela
210a508a90 Add simple color loop when loading query. 2023-05-01 22:46:46 +02:00
Sergio Martínez Portela
bdda2f3676 Replace header collapse/expand for link copying. 2023-04-28 00:12:02 +02:00
Sergio Martínez Portela
fce2d3c935 Use a bluer, less-greener background color. 2023-04-28 00:11:59 +02:00
Sergio Martínez Portela
5ae3be6d0f Draw floating table-of-contents on the right when possible. 2023-04-28 00:05:40 +02:00
Sergio Martínez Portela
61b1b79f95 Don't draw tables of contents with <2 elements. 2023-04-26 23:52:49 +02:00
Sergio Martínez Portela
57af01c5be Add symbol for external links. 2023-04-26 23:31:01 +02:00
Sergio Martínez Portela
d10bd44178 requirements: Add pygments requirement. 2023-04-23 20:53:02 +02:00
Sergio Martínez Portela
9a7358a98a Fix argument order on render_table. 2023-01-12 00:19:04 +01:00
Sergio Martínez Portela
a465b409b1 Print a warning and avoid crash on orgit-rev links. 2023-01-12 00:18:46 +01:00
Sergio Martínez Portela
b916be8f0b Copy mobile viewport tags from https://eev.ee 2023-01-06 17:09:10 +01:00
Sergio Martínez Portela
84b86e456b Limit img size to max-width: 100%. 2023-01-05 20:52:26 +01:00
Sergio Martínez Portela
6d7078ae01 Link to Mastodon profile from homepage. 2022-12-28 23:00:12 +01:00
Sergio Martínez Portela
90d1c15ba7 Add markup rendering and basic styling. 2022-12-28 22:42:26 +01:00
Sergio Martínez Portela
f174be032e Softer border on results box. 2022-12-20 00:59:00 +01:00
Sergio Martínez Portela
fcb44ca1a6 Apply "unindent" to highlighted code blocks too. 2022-12-20 00:56:53 +01:00
Sergio Martínez Portela
2d0f71bca1 Hide "ATTACH" tags. 2022-12-14 23:55:30 +01:00
Sergio Martínez Portela
d004454192 Add support for attachments and image links. 2022-12-14 23:46:41 +01:00
Sergio Martínez Portela
31450effe7 Add Makefile to concatenate syntax style. 2022-11-29 23:54:53 +01:00
Sergio Martínez Portela
e268734a3f Add base table-of-contents, don't collapse headlines. 2022-11-29 00:20:31 +01:00
Sergio Martínez Portela
58bb7ccc49 Improve handling of lists with multiline items. 2022-11-24 00:09:58 +01:00
Sergio Martínez Portela
88029a27d0 Convert the linked-from list into a tagged list. 2022-11-22 20:28:14 +01:00
Sergio Martínez Portela
86e36d5b79 Fix consistency between Webkit & Gecko.
Also, minor style fixes.
2022-11-21 00:10:47 +01:00
Sergio Martínez Portela
913e2c54d3 Start exploring CSS design for tree view.
Heavily based on https://iamkate.com/code/tree-views/ .
2022-11-20 21:41:07 +01:00
Sergio Martínez Portela
b9ac52a1a9 Support light&dark syntax on code blocks. 2022-11-15 21:20:25 +01:00
Sergio Martínez Portela
fe052d3468 Separate words on different line chunks. 2022-11-15 21:12:13 +01:00
Sergio Martínez Portela
058f0caf73 Treat DB cleanup as error when not in interactive mode. 2022-11-15 21:11:58 +01:00
Sergio Martínez Portela
9a883d90dd Apply Syntax Highlight on code blocks. 2022-11-15 21:11:36 +01:00
Sergio Martínez Portela
e7dc8ad1e7 Make indentation lines clearer on dark mode. 2022-11-11 18:45:28 +01:00
Sergio Martínez Portela
87e4a8aa7d Remap document ids backlinks to main headlines. 2022-11-09 19:54:39 +01:00
Sergio Martínez Portela
ac445d2e7c Use logging.warning instead of deprecated logging.warn. 2022-11-09 01:01:49 +01:00
Sergio Martínez Portela
4849128fcd Add simple backlink connections. 2022-11-09 01:01:34 +01:00
Sergio Martínez Portela
08d35fc0b5 Handle more softly words with :// that don't match known link types. 2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
76531e3cfc Add result box rendering. 2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
212c41d848 Avoid having Headlines look like links when clicked. 2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
1f286a0a54 Add simple style for results box. 2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
38e5f57eab Use node collapse markers with better font compatibility.
These are temporal. This way of working moves the titles around when they get
     collapsed/expanded, so I should probably change it at some point.
2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
0ebda876f7 Update headline expansion based on document STARTUP config. 2022-11-01 18:42:59 +01:00
Sergio Martínez Portela
847e2cfd74 Don't crash when failing to update note_search DB. 2022-11-01 12:19:52 +01:00
Sergio Martínez Portela
613aa4c88f Make result-bot TODO tag more badge-like. 2022-11-01 12:19:34 +01:00
Sergio Martínez Portela
964e2501ee Mark focused links on click. 2022-11-01 12:19:20 +01:00
Sergio Martínez Portela
208a9b2e97 Show notes TO-DO on search, mark them as such. 2022-10-30 23:58:44 +01:00
Sergio Martínez Portela
b676e2f949 Do search on all indexed fields. 2022-10-30 23:44:31 +01:00
Sergio Martínez Portela
7d20941765 Use experimental trigram tokenizer in SQLite FTS. 2022-10-30 23:38:25 +01:00
Sergio Martínez Portela
486c88c583 Take full headline body for search function.
Using just `get_contents` doesn't get list items or tables.
2022-10-30 23:31:45 +01:00
Sergio Martínez Portela
c80ada2a40 Simple style changes around search box. 2022-10-26 23:17:36 +02:00
Sergio Martínez Portela
9053bf30f6 Fix premature return when TODOs found. 2022-10-26 22:45:50 +02:00
Sergio Martínez Portela
25a65253dd Show message when no results are found on search.
Also, lower debounce time to 250ms.
2022-10-26 22:42:24 +02:00
Sergio Martínez Portela
c8b3a99e7a Mark internal links on light style too. 2022-10-25 23:52:54 +02:00
Sergio Martínez Portela
d023955ee0 Skip links to private notes. 2022-10-25 23:45:30 +02:00
Sergio Martínez Portela
250bcde6d5 Set site language on homepage. 2022-10-25 23:36:10 +02:00