Commit Graph

173 Commits

Author SHA1 Message Date
Sergio Martínez Portela
539240079f Fix rendering of outgoing links on graph.
See: http://127.0.0.1:8000/notes/343fe43b-f687-4f83-8171-c966a6887898.node.html#343fe43b-f687-4f83-8171-c966a6887898
2023-06-18 23:56:30 +02:00
Sergio Martínez Portela
da20c14ae7 Fix generation of graphs where top-level headline has no backlines. 2023-06-18 23:24:33 +02:00
Sergio Martínez Portela
960a3693d3 Fix typo on intermediate dot file name. 2023-06-13 00:00:35 +02:00
Sergio Martínez Portela
fa789984f4 Implement long-operation cache. 2023-06-10 15:55:43 +02:00
Sergio Martínez Portela
135423b8e5 Wrap graph generation in python code, remove API dependency. 2023-06-10 15:35:06 +02:00
Sergio Martínez Portela
3f5ec66c3d Fix: render graph.json, a dependency, before node-centered-graph. 2023-06-09 21:04:04 +02:00
Sergio Martínez Portela
49a5ec3df2 Experiment with centered graph drawing. 2023-06-09 20:54:01 +02:00
Sergio Martínez Portela
b248f507c6 Handle file: links. 2023-06-06 18:32:19 +02:00
Sergio Martínez Portela
0e56cfbe10 Show TOC on the left side. 2023-05-14 21:06:27 +02:00
Sergio Martínez Portela
ce2ca99ebc Don't move node off center if no TOC is shown. 2023-05-14 21:06:08 +02:00
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