sou7
b050162f82
docs(frontmatter): mention dealiasing related fields ( #1715 )
...
* Added to the documentation which values of frontmatter are referenced.
* The source code I was looking at seemed to be out of date and the wrong listings were corrected.
* The list of frontmatter was moved to Frontmatter.md and a link was added.
2025-02-27 16:37:01 -05:00
Anton Bulakh
6d350500f1
fix(goatcounter): properly count SPA page hits ( #1718 )
...
On the surface it seems that only google and plausible scripts handle
the SPA correctly - but I don't know if maybe others handle
window.history API themselves somehow or something like that.
However, I am trying out goatcounter and in it's docs I see that it
does no special SPA handling, so this has to be fixed.
Just doing the dynamic script thing on every nav seems to do the trick.
The script is not "spa-preserve" so they wouldn't accumulate - and when
I tried the "spa-preserve" + call goatcounter api route it didn't quite
work, they actually did accumulate
2025-02-27 16:35:19 -05:00
Jon Erling Hustadnes
9b47279fe6
feat(i18n): added nb-NO (Norwegian) ( #1795 )
2025-02-27 16:33:15 -05:00
dependabot[bot]
4901472aa8
chore(deps): bump the production-dependencies group with 8 updates ( #1788 )
...
* chore(deps): bump the production-dependencies group with 8 updates
Bumps the production-dependencies group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [hast-util-to-html](https://github.com/syntax-tree/hast-util-to-html ) | `9.0.4` | `9.0.5` |
| [hast-util-to-jsx-runtime](https://github.com/syntax-tree/hast-util-to-jsx-runtime ) | `2.3.2` | `2.3.4` |
| [preact](https://github.com/preactjs/preact ) | `10.26.0` | `10.26.2` |
| [rehype-mathjax](https://github.com/remarkjs/remark-math ) | `7.0.0` | `7.1.0` |
| [ws](https://github.com/websockets/ws ) | `8.18.0` | `8.18.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `22.13.4` | `22.13.5` |
| [prettier](https://github.com/prettier/prettier ) | `3.5.1` | `3.5.2` |
| [tsx](https://github.com/privatenumber/tsx ) | `4.19.2` | `4.19.3` |
Updates `hast-util-to-html` from 9.0.4 to 9.0.5
- [Release notes](https://github.com/syntax-tree/hast-util-to-html/releases )
- [Commits](https://github.com/syntax-tree/hast-util-to-html/compare/9.0.4...9.0.5 )
Updates `hast-util-to-jsx-runtime` from 2.3.2 to 2.3.4
- [Release notes](https://github.com/syntax-tree/hast-util-to-jsx-runtime/releases )
- [Commits](https://github.com/syntax-tree/hast-util-to-jsx-runtime/compare/2.3.2...2.3.4 )
Updates `preact` from 10.26.0 to 10.26.2
- [Release notes](https://github.com/preactjs/preact/releases )
- [Commits](https://github.com/preactjs/preact/compare/10.26.0...10.26.2 )
Updates `rehype-mathjax` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/remarkjs/remark-math/releases )
- [Commits](https://github.com/remarkjs/remark-math/compare/rehype-mathjax@7.0.0...rehype-mathjax@7.1.0 )
Updates `ws` from 8.18.0 to 8.18.1
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.18.0...8.18.1 )
Updates `@types/node` from 22.13.4 to 22.13.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `prettier` from 3.5.1 to 3.5.2
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.5.1...3.5.2 )
Updates `tsx` from 4.19.2 to 4.19.3
- [Release notes](https://github.com/privatenumber/tsx/releases )
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs )
- [Commits](https://github.com/privatenumber/tsx/compare/v4.19.2...v4.19.3 )
---
updated-dependencies:
- dependency-name: hast-util-to-html
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: hast-util-to-jsx-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: preact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: rehype-mathjax
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: ws
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: tsx
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: update type error
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2025-02-25 16:52:52 -05:00
dependabot[bot]
28fe9b2095
chore(deps): bump sigstore/cosign-installer in the ci-dependencies group ( #1789 )
...
Bumps the ci-dependencies group with 1 update: [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ).
Updates `sigstore/cosign-installer` from 3.8.0 to 3.8.1
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.8.0...v3.8.1 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-25 16:35:10 -05:00
Jonathan Fung
9a0d919a3b
docs: add Citation plugin & feature pages ( #1772 )
...
* docs: add Citation plugin & feature pages
Discussed and extracted from #1557
* Update docs/features/Citations.md
* Apply suggestions from code review
---------
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
2025-02-25 16:34:37 -05:00
Daksh
598741a571
fix(fonts): update system-ui trick for improve cross-platform compatibility ( #1778 )
2025-02-25 16:31:41 -05:00
Anton Bulakh
29c533a265
fix(aliases): wikilink resolution for aliases ( #1681 )
...
With markdownLinkResolution: "shortest", aka "+/- how Obsidian does it"
and given pages A and nested/B which has an alias Z, if you try to link
from A using [[Z]] it wouldn't work and get 404.
This is caused by alias slugs (nested/Z in this case, emitted by
AliasRedirects) not being present in the `allSlugs` list which is used
by the link transformer.
The fix is to compute the alias slugs in the frontmatter transformer
and add them to `allSlugs` there.
Also we store them in file data to avoid recomputing them when emitting
alias redirect pages.
Fixes #904
Note: given how currently the markdown/html transformers are ordered
this doesn't really work.
Given pages A and nested/B which has an alias Z, here's the order which
currently happens:
md-transformers(A) => html-transformers(A) =>
md-transformers(B) => html-transformers(B)
Since the nested/Z slug will get added when md-transformers(B) are run,
but the slugs are used by html-transformers(A) when resolving it's
links - the link [[Z]] in A will still 404
A fix for this is to split the parser into two stages - first apply the
md-transformers to all files, and only then apply html-transformers to
all files.
I did just that in a different commit, which is needed for this one to
work correctly.
2025-02-25 16:28:16 -05:00
Suamppa
1a02642469
feat(i18n): add Finnish translations for i18n ( #1782 )
2025-02-25 16:27:32 -05:00
Emile Bangma
5794405974
feat(cli): absolute path support for -d flag ( #1756 )
2025-02-25 16:27:10 -05:00
Emile Bangma
59d5a0ed3a
fix(graph): mobile global graph overlay ( #1790 )
2025-02-25 13:35:24 +01:00
dependabot[bot]
dd6bd498db
chore(deps): bump the production-dependencies group with 5 updates ( #1775 )
...
Bumps the production-dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [pixi.js](https://github.com/pixijs/pixijs ) | `8.7.3` | `8.8.0` |
| [preact](https://github.com/preactjs/preact ) | `10.25.4` | `10.26.0` |
| [rehype-mathjax](https://github.com/remarkjs/remark-math ) | `6.0.0` | `7.0.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `22.13.1` | `22.13.4` |
| [prettier](https://github.com/prettier/prettier ) | `3.5.0` | `3.5.1` |
Updates `pixi.js` from 8.7.3 to 8.8.0
- [Release notes](https://github.com/pixijs/pixijs/releases )
- [Commits](https://github.com/pixijs/pixijs/compare/v8.7.3...v8.8.0 )
Updates `preact` from 10.25.4 to 10.26.0
- [Release notes](https://github.com/preactjs/preact/releases )
- [Commits](https://github.com/preactjs/preact/compare/10.25.4...10.26.0 )
Updates `rehype-mathjax` from 6.0.0 to 7.0.0
- [Release notes](https://github.com/remarkjs/remark-math/releases )
- [Commits](https://github.com/remarkjs/remark-math/compare/rehype-mathjax@6.0.0...rehype-mathjax@7.0.0 )
Updates `@types/node` from 22.13.1 to 22.13.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `prettier` from 3.5.0 to 3.5.1
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.5.0...3.5.1 )
---
updated-dependencies:
- dependency-name: pixi.js
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: preact
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: rehype-mathjax
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: production-dependencies
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 21:54:07 -05:00
dependabot[bot]
04423d4931
chore(deps): bump the production-dependencies group with 6 updates ( #1761 )
...
Bumps the production-dependencies group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [@clack/prompts](https://github.com/natemoo-re/clack/tree/HEAD/packages/prompts ) | `0.9.1` | `0.10.0` |
| [globby](https://github.com/sindresorhus/globby ) | `14.0.2` | `14.1.0` |
| [remark-gfm](https://github.com/remarkjs/remark-gfm ) | `4.0.0` | `4.0.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `22.13.0` | `22.13.1` |
| [esbuild](https://github.com/evanw/esbuild ) | `0.24.2` | `0.25.0` |
| [prettier](https://github.com/prettier/prettier ) | `3.4.2` | `3.5.0` |
Updates `@clack/prompts` from 0.9.1 to 0.10.0
- [Release notes](https://github.com/natemoo-re/clack/releases )
- [Changelog](https://github.com/bombshell-dev/clack/blob/main/packages/prompts/CHANGELOG.md )
- [Commits](https://github.com/natemoo-re/clack/commits/@clack/prompts@0.10.0/packages/prompts )
Updates `globby` from 14.0.2 to 14.1.0
- [Release notes](https://github.com/sindresorhus/globby/releases )
- [Commits](https://github.com/sindresorhus/globby/compare/v14.0.2...v14.1.0 )
Updates `remark-gfm` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/remarkjs/remark-gfm/releases )
- [Commits](https://github.com/remarkjs/remark-gfm/compare/4.0.0...4.0.1 )
Updates `@types/node` from 22.13.0 to 22.13.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `esbuild` from 0.24.2 to 0.25.0
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.24.2...v0.25.0 )
Updates `prettier` from 3.4.2 to 3.5.0
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.4.2...3.5.0 )
---
updated-dependencies:
- dependency-name: "@clack/prompts"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: globby
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: remark-gfm
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: esbuild
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: production-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 01:28:02 -05:00
dependabot[bot]
be846e6a5f
chore(deps): bump sigstore/cosign-installer in the ci-dependencies group ( #1762 )
...
Bumps the ci-dependencies group with 1 update: [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ).
Updates `sigstore/cosign-installer` from 3.7.0 to 3.8.0
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.7.0...v3.8.0 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: ci-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 01:27:43 -05:00
dependabot[bot]
32ec711767
chore(deps-dev): bump @types/node in the production-dependencies group ( #1751 )
...
Bumps the production-dependencies group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ).
Updates `@types/node` from 22.12.0 to 22.13.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: production-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-05 05:07:14 -05:00
Emile Bangma
91189dfd2f
feat(explorer): collapsible mobile explorer ( #1471 )
...
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
2025-02-03 09:25:42 -05:00
Aaron Pham
fbc45548f7
feat(graph): enable radial mode ( #1738 )
2025-02-01 16:22:29 -05:00
dependabot[bot]
7be47742a6
chore(deps): bump the production-dependencies group across 1 directory with 3 updates ( #1744 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 06:46:45 -05:00
Anton Bulakh
4e4930ef9c
chore(styles): omit sass deprecation warnings ( #1737 )
...
update to newer API
2025-01-23 22:19:46 -05:00
Mantvydas Deltuva
01943ff5a0
feat(i18n): Lithuanian ( #1733 )
2025-01-21 00:20:02 -05:00
Patsagorn Y.
8cf3e3001f
feat(i18n): Thai translations ( #1722 )
2025-01-16 15:44:33 -05:00
dependabot[bot]
992ac00f7c
chore(deps): bump the production-dependencies group with 7 updates ( #1719 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-14 00:02:49 -05:00
dependabot[bot]
09f8670db7
chore(deps): bump the production-dependencies group with 4 updates ( #1711 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2025-01-07 20:32:02 -05:00
Aaron Pham
7e828252bb
fix(path): handle lone slash ( #1713 )
2025-01-07 16:00:09 -05:00
Anton Bulakh
c90dbacab0
chore(build): separate markdown and html handling into two separate stages ( #1675 )
2025-01-07 15:33:34 -05:00
Anton Bulakh
b7a945e034
fix(tags): Dont consume a space before content tags ( #1706 )
2025-01-05 01:11:15 -05:00
Akihiro Saiki
dc3323b574
chore: use Google Fonts API v2 to get fonts for ogp ( #1705 )
2025-01-04 09:45:53 -08:00
Aaron Pham
c98ef7e89f
perf(img): lazy load chunks ( #1700 )
2025-01-03 11:27:43 -08:00
Aaron Pham
2e6a675edd
perf: reduce bundle size ( closes #1607 ) ( #1689 )
2025-01-01 12:24:32 -08:00
Jacky Zhao
e3162f7a7e
chore: joinSegments fix + tests
2025-01-01 12:11:16 -08:00
moexiami
9466c145b1
fix(path): correct handle URI schemes in joinSegments ( #1693 )
2025-01-01 10:07:59 -08:00
Anton Bulakh
a934397961
fix(spa): Fix relative alias redirects ( #1688 )
2024-12-30 18:21:07 -08:00
dependabot[bot]
b2752e7262
chore(deps): bump the production-dependencies group with 2 updates ( #1696 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 18:19:22 -08:00
Anton Bulakh
d9e36e60d1
fix(search): Fix super-inconsistent preview widths in search previews ( #1677 )
...
Don't know if this was uncovered by my local setup or just nobody
noticed, but page previews were pretty wonky for me
2024-12-30 09:55:53 -08:00
Anton Bulakh
46adb35966
fix(spa): Normalize empty hrefs ( #1695 )
...
A final breadcrumb has an empty href, linking to the current page, but
the relative url normalization method missed those, making the link
appear broken in search previews and popovers.
Fixes #1690
2024-12-30 09:55:18 -08:00
Jacky Zhao
e1c9eabef4
fix(css): oops fit-content not no width specification for codeblock title
2024-12-30 09:28:02 -08:00
Anton Bulakh
d88e43010a
fix(tags): Fix TagContent not sorting the page list when opening a tag ( #1692 )
2024-12-30 09:08:35 -08:00
Ammar Alakkad
ef72f1bf70
Fix ObsidianFlavoredMarkdown source link ( #1694 )
2024-12-30 08:03:57 -08:00
Jacky Zhao
7d4bed64a9
fix(css): allow proper width on code block title ( closes #1683 )
2024-12-28 15:17:58 -08:00
Anton Bulakh
99011cb1b0
fix(spa): handle HTML redirects for aliases ( #1680 )
2024-12-27 07:18:22 -07:00
Jacky Zhao
c91cf97f99
feat(spa): add loading bar ( #1684 )
2024-12-26 22:18:17 -07:00
Anton Bulakh
05e6f05a50
feat(backlinks): hide by default when empty ( #1674 )
...
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
2024-12-26 21:05:35 -07:00
Anton Bulakh
7533d504dc
fix(tags): Set consistent titles for tags with description pages ( #1671 )
2024-12-26 17:50:06 -07:00
Anton Bulakh
69a0ddf733
fix(tags): Show tag descriptions when hovering ( #1670 )
2024-12-26 06:50:54 -07:00
dependabot[bot]
a582505daf
chore(deps): bump the production-dependencies group with 7 updates ( #1667 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 16:35:08 -05:00
Aaron Pham
965f9e123c
chore(frontmatter): dealias created/modified/updated time ( #1664 )
2024-12-23 15:00:26 -05:00
Emile Bangma
ff9e60a7fc
fix(search): restore mobile search view ( #1576 )
2024-12-17 13:07:00 -05:00
dependabot[bot]
367bb0e6ce
chore(deps): bump the production-dependencies group across 1 directory with 14 updates ( #1655 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-12-17 03:53:51 -05:00
Emile Bangma
8141cb1587
fix(cssclasses): apply frontmatter classes uniformly between page types ( #1645 )
2024-12-11 00:43:27 +01:00
Sohum
5ccc2dcbba
fix(head): update open-graph width and height protocol per ogp ( #1512 )
...
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-12-03 04:52:51 -05:00