89 Commits

Author SHA1 Message Date
Ole Eskild Steensen
48b7162298
Local flexsearch (#160)
* Switch to using local search
* Switch from lunr to FlexSearch
* Cache searchindex in localstorage
* Link unresolved links to 404 page in build step
2023-05-23 22:14:50 +02:00
Ole Eskild Steensen
9d45cde0e6
Use correct parameter for setting favicon outpu 2023-05-22 19:03:06 +02:00
ransurf
c0f07cb5f3 Add null checks for empty dataview queries (#157) 2023-05-22 16:51:11 +02:00
bayang
aa1473d8fa fix display bug for admontion to callout conversion (#150)
admonition accepts parameters on the first 4 lines.
These lines are displayed in teh resulting html and the collapsing
does not work.
2023-05-22 16:50:46 +02:00
Anant Shrivastava
4f4f003ebe fixing the plugin references 2023-05-09 13:58:15 +05:30
Utsob Roy
66519a6ae1
Transform dataview tables to add proper classes (#133) 2023-04-25 19:53:19 +02:00
Ole Eskild Steensen
d7dca4e45f Fix RSS feed #136 2023-04-25 16:46:09 +02:00
Utsob Roy
80616447c8
Image optimization (#116)
* image optimizations

* added cache to gitignore

* fault tolerant img generation

* crash fix

---------

Co-authored-by: Ole Eskild Steensen <oleeskild@users.noreply.github.com>
2023-04-18 07:55:41 +02:00
Utsob Roy
23d2d7c7ff
Table wrapper for markdown tables (#114)
* table wrapper for markdown tables

* minimal formatting

* minimal formatting

* Only show scroll when neccessary

---------

Co-authored-by: Ole Eskild Steensen <oleeskild@users.noreply.github.com>
2023-04-18 07:50:49 +02:00
Ole Eskild Steensen
313dc50c95 Allow callouts to have - in their name 2023-03-17 16:38:42 +01:00
Ole Eskild Steensen
cd0e8b98ee Properly use updated field from note in RSS feed 2023-03-16 23:12:47 +01:00
Ole Eskild Steensen
ea7f584614 Add support for rss/atom feed 2023-03-16 22:33:33 +01:00
Ole Eskild Steensen
548d04ce8c Check that tags exists 2023-03-07 09:01:59 +01:00
Ole Eskild Steensen
9343b198be Merged footnote fix into main 2023-03-06 08:45:34 +01:00
Utsob Roy
809118c68b single homepage rendering (#88) 2023-03-06 08:42:49 +01:00
Utsob Roy
6698edf262 allow users to put scripts in src/site/scripts folder (#93) 2023-03-06 08:42:49 +01:00
12-VidE
e1342e7eb7 Add new attribute to tags (#84)
The new attribute makes it easier to apply custom styles to specific tags with CSS
2023-03-06 08:42:49 +01:00
Utsob Roy
8026d6f06e
feat: Minification (#94)
* added minifications for html, and css built from scss

* cleanup css themes to keep only the first comment
2023-03-06 08:41:00 +01:00
Utsob Roy
59c3cde9e0
feat: User setup (#95)
* allow users to add plugins to setup markdown and eleventy

* comments on function

* added userSetup.js to plugin-info.json
2023-03-06 08:37:17 +01:00
Utsob Roy
f9d22ef471
single homepage rendering (#88) 2023-03-06 08:31:42 +01:00
Utsob Roy
702344cb84
allow users to put scripts in src/site/scripts folder (#93) 2023-03-02 08:18:16 +01:00
12-VidE
f35dec903a
Add new attribute to tags (#84)
The new attribute makes it easier to apply custom styles to specific tags with CSS
2023-03-02 08:11:57 +01:00
Utsob Roy
b559425c7b footnote fix via better way 2023-02-23 16:34:43 +06:00
Utsob Roy
18b4be3d43
fix: Footnote in heading (#89) 2023-02-23 10:40:38 +01:00
Utsob Roy
717492ba19
Nested TOC fix (#83) 2023-02-23 10:26:53 +01:00
Utsob Roy
486a8a262f
inline code wrong highlight detection fix (#87) 2023-02-23 10:22:33 +01:00
Utsob Roy
616a2a9a0f maturity to generic note icons 2023-02-13 14:41:59 +06:00
Utsob Roy
aff76efc5b maturity visualization 2023-02-11 19:31:11 +06:00
Utsob Roy
705e80e5f2 dynamic import implementation 2023-02-06 14:29:23 +06:00
Ole Eskild Steensen
818ae56774 Fixed issue where ampersign in title would break dataview links 2023-02-05 18:24:01 +01:00
Utsob Roy
db6d4bb79b
Hide dataview variable (#54)
* hide dataview variable

* Update note.njk

---------

Co-authored-by: Ole Eskild Steensen <oleeskild@users.noreply.github.com>
2023-02-04 13:45:57 +01:00
Ole Eskild Steensen
97387a76f5 Fix theme issues 2023-02-01 17:08:10 +01:00
Ole Eskild Steensen
514f1be060 Escape "\" in tags, as they are invalid json 2023-01-26 09:08:13 +01:00
Ole Eskild Steensen
6c8f6a5ebe Remove passthrough copy of css, as this is done elsewhere 2023-01-25 08:57:26 +01:00
Ole Eskild Steensen
5d9b0e508e Copy theme css that gets ignored by sass 2023-01-25 08:38:23 +01:00
Ole Eskild Steensen
255e1d531d Add support for slashes in tags 2023-01-21 12:03:39 +01:00
Utsob Roy
3176a78c03
better tag search (#46) 2023-01-19 14:46:56 +01:00
Utsob Roy
92d49c2c54
A custom content taggification (#45)
* a custom content taggification
2023-01-19 10:31:35 +01:00
Ole Eskild Steensen
80d58a7fd8 Do markdown-it-attrs later than hashtag, to fix hastag issue 2023-01-18 22:20:54 +01:00
Ole Eskild Steensen
f6512bd053 Fix inline hashtag issues 2023-01-18 22:06:13 +01:00
Ole Eskild Steensen
cca486c7dc Fix issue where markdown-it-attrs would be rendered as tags 2023-01-18 16:02:14 +01:00
Luke
63dca03db5
fix(jsonify): default to empty string on empty content (#42) 2023-01-17 14:26:47 +01:00
Luke-zhang-04
d79ff93c5e implement new callout code for code blocked admonitions 2023-01-17 14:24:46 +01:00
Luke-zhang-04
f328f9b411 feat(callouts): make callouts look like Obsidian callouts
- change callout look
- make callouts collapsible (https://github.com/oleeskild/obsidian-digital-garden/issues/89)
2023-01-17 14:24:46 +01:00
Luke-zhang-04
00011e734e fix(callouts): render nested callouts properly
previously, nested callouts were not rendered properly becuase regex
could not detect the correct closing tag for a callout that had another
callout nested inside of it.
2023-01-17 14:24:46 +01:00
Ole Eskild Steensen
57daed82cd
Allow slash in tags 2023-01-11 22:55:29 +01:00
Ole Eskild Steensen
777b8ff269 Show tag for all languages 2023-01-11 17:48:13 +01:00
Ole Eskild Steensen
55159ed89c Fix inline tag search 2023-01-09 19:24:21 +01:00
Ole Eskild Steensen
5cf5aa1566 Allow searching both inline and frontmatter tags 2023-01-09 19:08:33 +01:00
Ole Eskild Steensen
0c46242b0a Add support for inline tags 2023-01-09 18:54:15 +01:00