37 Commits

Author SHA1 Message Date
Mark Orel
fd92473178 feat: Search using lunr
Context: having search is almots essential feature for most of the
websites. This commit adds very basic functionality based on lunrjs
library. It allows to build an use search index.

Changes:
- Build search index using 11ty template
- Adds postbuild step to build lunr index
- Adds netlify function to serve as API for search
- Adds search page and links to notes pages
- Wraps hashtags with proper styling and adds search by hashtag link to
  them
- Adds missing obsidian class for content
2022-11-06 20:11:35 +01:00
Ole Eskild Steensen
4c555c58d4 Implemented filetree, and made some adjustments to graph and backlinks 2022-11-03 16:14:12 +01:00
Ole Eskild Steensen
825893d52c Fix #64: Support links ending in .md
Some dataview queries adds a .md file extension on links to other
pages. This caused the digital garden to search for filename.md.md,
which it didn't find. Thus dataview queries could result in dead links
that weren't really dead. This commit should fix that.
2022-08-05 14:38:41 +02:00
Ole Eskild Steensen
3836163a2c Add support for plantUML 2022-07-07 18:03:59 +02:00
Ole Eskild Steensen
a12c3b3e0a Add styling to unresolved links 2022-05-24 10:39:36 +02:00
Ole Eskild Steensen
8d72161e10 Capital callout types should render properly 2022-04-24 23:40:41 +02:00
Ole Eskild Steensen
b9f25858db Use filters, as transforms has memory issues 2022-04-18 22:01:58 +02:00
Ole Eskild Steensen
ce3cbedd2e Fix bug with callout block rendering 2022-04-13 09:04:17 +02:00
Ole Eskild Steensen
0a11495310 Added support for callout blocks 2022-04-07 19:37:18 +02:00
Ole Eskild Steensen
b781c5faad Properly match dg flavoured wikilinks 2022-04-05 22:18:09 +02:00
Ole Eskild Steensen
5c7339eab5 Render mathjax in build time 2022-03-27 19:59:05 +02:00
Ole Eskild Steensen
525a5036a0 Remove unneccessary markdown-it filter 2022-03-23 16:24:45 +01:00
Ole Eskild Steensen
7fdcbd599e Added support for linking to a header 2022-03-23 16:08:39 +01:00
Ole Eskild Steensen
95701eec3d Mark all headers with an id 2022-03-23 13:22:11 +01:00
Ole Eskild Steensen
5cc21ac870 Add support for empty admonition title and checkboxes 2022-03-22 22:36:52 +01:00
Ole Eskild Steensen
061618e88a Merge branch 'main' into feature/customthemes 2022-03-22 22:17:23 +01:00
Ole Eskild Steensen
b31a5db711 Added favicon support 2022-03-18 18:42:08 +01:00
Ole Eskild Steensen
83fa971be4 Added support for custom theme 2022-03-17 16:46:18 +01:00
Ole Eskild Steensen
bec105bd14 Better admonitions support 2022-03-15 23:12:55 +01:00
Ole Eskild Steensen
51edb4b55c
Update .eleventy.js 2022-03-15 15:30:05 +01:00
Ole Eskild Steensen
1bac437d6e
More specific checks for mathjax and excalidraw 2022-03-15 15:26:58 +01:00
Ole Eskild Steensen
6d39919a3f Add support for inline mathjax 2022-03-15 09:21:22 +01:00
Ole Eskild Steensen
795b6250db
Excalidraw data should not be treated as link 2022-03-14 16:32:30 +01:00
Ole Eskild Steensen
2e9432181e Added support for highlighted text and footnotes 2022-03-10 13:59:21 +01:00
Ole Eskild Steensen
2fb2d1525b Reformatting 2022-03-04 13:54:08 +01:00
Ole Eskild Steensen
9a43a01d4f Added support for image width and custom titles 2022-03-04 13:39:57 +01:00
Ole Eskild Steensen
56a0bd05f8 Use graymatter package for frontmatter parsing 2022-03-02 15:54:06 +01:00
Ole Eskild Steensen
4cf09880b0 Add support for permalinks 2022-03-01 16:48:00 +01:00
Ole Eskild Steensen
7113398174 Slugify all note URLS 2022-03-01 10:28:23 +01:00
Ole Eskild Steensen
406ae3de6b Use markdownit as only highlighter 2022-02-24 12:21:46 +01:00
Ole Eskild Steensen
9241b5431f Add target and class to external links 2022-02-23 16:20:57 +01:00
Ole Eskild Steensen
ebb4746426 Add class for internal link 2022-02-23 16:14:38 +01:00
Ole Eskild Steensen
0a69c2ee81 Properly render admonitions 2022-02-23 16:13:07 +01:00
Ole Eskild Steensen
e34e879127 Style and render transclusions properly 2022-02-23 16:07:50 +01:00
Ole Eskild Steensen
5d606fc5e5 Added support for ad-info and transclusion 2022-02-23 15:31:20 +01:00
Ole Eskild Steensen
8f66649a85 Removed unused import 2022-02-15 16:45:27 +01:00
Ole Eskild Steensen
5c88fc3f67 🌅 Initial commit 2022-02-14 19:22:33 +01:00