A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
import type { Theme } from "vitepress";
// theme-without-fonts skips the default theme's own bundled Inter — we ship the
// exact Inter files the Notesnook app uses instead (see fonts.css).
import DefaultTheme from "vitepress/theme-without-fonts";
import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client";
import { h } from "vue";
import VersionBanner from "./components/VersionBanner.vue";
import PlanTag from "./components/PlanTag.vue";
import GetNotesnook from "./components/GetNotesnook.vue";
import HomeSearch from "./components/HomeSearch.vue";
import DocsIndex from "./components/DocsIndex.vue";
import "./fonts.css";
import "./notesnook.css";
export default {
extends: DefaultTheme,
Layout: () =>
h(DefaultTheme.Layout, null, {
// Renders only on pages under an archived /v<version>/ tree.
"doc-before": () => h(VersionBanner),
// The home page has no sidebar, so search is the primary way in.
"home-hero-after": () => h(HomeSearch)
}),
enhanceApp({ app }) {
enhanceAppWithTabs(app);
// Usable directly in markdown, no per-page import.
app.component("PlanTag", PlanTag);
app.component("GetNotesnook", GetNotesnook);
app.component("DocsIndex", DocsIndex);
}
} satisfies Theme;