https://www.dendron.so/ logo
Join Discord
Powered by
# questions
  • v

    verl0ntu

    03/31/2022, 7:55 AM
    so this is the default view, right?
  • s

    SeriousBug

    03/31/2022, 7:55 AM
    Yes
  • v

    verl0ntu

    03/31/2022, 7:55 AM
    i’ll look more into it tommorow, i’m currently on mobile
  • t

    Tika

    03/31/2022, 8:12 AM
    It does not, no. Does it work for you?
  • t

    Tika

    03/31/2022, 8:17 AM
    https://github.com/dendronhq/dendron/issues/2661
  • s

    Saad C

    03/31/2022, 8:35 AM
    Hello, My preview page has a light theme since this morning while it was always in dark mode. Is this due to the new VsCode release? I tried to change the settings of the dendron: Markdown extension but without success. Any tips?
  • h

    hikchoi

    03/31/2022, 8:47 AM
    Dendron Markdown Preview Enhanced is legacy and we don't maintain it anymore. Can you try using our native preview? (
    Dendron: Show Preview
    in command palette.)
  • s

    Saad C

    03/31/2022, 9:13 AM
    I was actually using the Dendron native preview but I don't know how to turn it back to dark mode
  • h

    hikchoi

    03/31/2022, 9:53 AM
    We don't currently support changing how the preview looks, so if it turned into a light theme this will indicate that something went wrong. Can you create a bug report for this?
  • s

    Slaytanical(LamentConfiguration)

    03/31/2022, 10:00 AM
    I've noticed git mentioned a lot in the docs, is there any problem using an alternate scm (specifically fossil) or are functions in Dendron tied directly to specific capabilities in git?
  • t

    tfer

    03/31/2022, 10:22 AM
    I've used the
    NPM SCRIPTS
    tab to run scripts in powershell (I'm on windows) which seems to get around needing bash, but I'm getting errors. As this is a vault I have not touched in about 4 months, I'm not sure the scripts have been updated to the current versions. Is the a step to do this?
  • s

    Slaytanical(LamentConfiguration)

    03/31/2022, 10:24 AM
    I have no aversion to git, I just prefer fossil for the scale of my personal projects.
  • h

    hikchoi

    03/31/2022, 10:28 AM
    Our syncing capabilities (i.e. workspace sync), and anything that fetches from a remote repository are tied to git. Once a repository that contains a vault or workspace is pulled in, they will work as intended, but you won't be able to use any Dendron capabilities that expects a git repository. So for example, you will have to push and pull your notes manually with your preferred SCM.
  • h

    hikchoi

    03/31/2022, 10:30 AM
    We also gitignore some files that you may want to hide / not track in your workspace repository, so you will also need to take care of that however Fossil handles it.
  • h

    hikchoi

    03/31/2022, 10:30 AM
    Can you elaborate? What kind of scripts are you trying to run?
  • s

    Slaytanical(LamentConfiguration)

    03/31/2022, 10:30 AM
    I'll probably just stick to using git with Dendron, I've already committed a dedicated vscode install to it, and yeah, I can make that work for me for sure.
  • t

    tfer

    03/31/2022, 10:36 AM
    Tried dev, build, and start. Trying to get the static files to generate
  • h

    hikchoi

    03/31/2022, 10:39 AM
    Can you share what errors you are getting?
  • t

    tfer

    03/31/2022, 10:43 AM
    > Executing task in folder 'vault': Guide to Markdown: npm run build < > @dendronhq/nextjs-template@0.58.4-alpha.1 build > next build info - Using webpack 5. Reason: no custom webpack configuration in next.config.js https://nextjs.org/docs/messages/webpack5 info - Checking validity of types Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating info - Creating an optimized production build Failed to compile. ../../../../../../VC/git/Dendron-Notebanks/Bank.Markdown/vault/.next/pages/_app.tsx Module parse failed: Unexpected token (8:12) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | } from "@Userhq/common-frontend"; | import "antd/dist/antd.css"; > import type { AppProps } from "next/app"; | import React, { useState } from "react"; | import { ThemeSwitcherProvider } from "react-css-theme-switcher"; > Build error occurred Error: > Build failed because of webpack errors at C:\VC\git\Dendron-Notebanks\Bank.Markdown\vault\.next\node_modules\next\dist\build\index.js:17:924 at async Span.traceAsyncFn (C:\VC\git\Dendron-Notebanks\Bank.Markdown\vault\.next\node_modules\next\dist\telemetry\trace\trace.js:6:584)
  • h

    hikchoi

    03/31/2022, 10:46 AM
    Looks like it's pulling a very old version of
    nextjs-template
    . Could you remove the
    .next
    directory and try again? Also make sure both Dendron (the extension and cli) are up to date.
  • s

    Saad C

    03/31/2022, 11:45 AM
    My code syntax is no longer correctly displayed on my note preview. I feel something is wrong with my note preview (light mode instead of dark mode and this). Everything was working like a charm up until now
  • h

    hikchoi

    03/31/2022, 11:57 AM
    hmm.. it looks like there's a problem with loading CSS. Which version of Dendron are you currently on?
  • s

    Saad C

    03/31/2022, 11:58 AM
    v0.88.0
  • h

    hikchoi

    03/31/2022, 12:03 PM
    Understood. Just to be clear, this wasn't happening until now, and you were still on v0.88.0 when it was working? or did this happen right after an upgrade from a past version?
  • s

    Saad C

    03/31/2022, 12:07 PM
    Exactly. the only change was the update to 1.66 of VSCODE (I would say that it is automatic for me, I am not sure). The update was today, if I'm not mistaken
  • s

    Slaytanical(LamentConfiguration)

    03/31/2022, 12:15 PM
    note to self, don't update my portable installs of VSCode quite yet
  • s

    Slaytanical(LamentConfiguration)

    03/31/2022, 12:17 PM
    well, at least the one i'm using for Dendron
  • a

    ajj

    03/31/2022, 12:19 PM
    Does anyone have any guidance/examples/practices of using Dendron for atomic notes (https://notes.andymatuschak.org/z4Rrmh17vMBbauEGnFPTZSK3UmdsGExLRfZz1 )? This is the one area where I find the dot hierarchy a bit more confusing. In obsidian, I had note titles that were clear statements, and I’m not sure what that looks like in Dendron.
  • h

    hikchoi

    03/31/2022, 12:48 PM
    There is no one "right" answer to this, but if I would do this, I would have a shallow (one or two level deep) hierarchy where I keep all my atomic notes. (e.g.
    food.burgers-should-be-wide-not-tall
    Or even just
    burgers-should-be-wide-not-tall
    ) There is no enforcement of hierarchical structure in Dendron. It is just another way of organizing. If you want to apply a more rigid structure here, you could always keep the file name short, but titles as clear statements. (e.g.
    f.m.burger.ff.bp.wide-not-tall.md
    , and
    title: Burgers Should be Wide not Tall
    in frontmatter.) The wikilink for this would then be
    [[Burgers Should be Wide not Tall|f.m.burger.ff.bp.wide-not-tall]]
  • h

    hikchoi

    03/31/2022, 12:50 PM
    Can you try reverting back to an older version of Dendron and see if this problem persists? This would indicate that VSCode would be the culprit. You can right click on Dendron and choose "install another version":
1...586587588...757Latest