SeriousBug
01/17/2022, 8:05 AMSeriousBug
01/17/2022, 8:06 AMmihaiconstantin
01/17/2022, 8:09 AM_.template(note.body)
. If this is not intended (e.g., for note traits or something else), I think it makes sense to disable it for untrusted workspaces, as you said. Curious what the others think as well. Thanks for pinging them.geetuu
01/17/2022, 10:16 AMSeriousBug
01/17/2022, 10:18 AMgeetuu
01/17/2022, 10:20 AMgeetuu
01/17/2022, 10:22 AMSeriousBug
01/17/2022, 10:22 AMTika
01/17/2022, 10:41 AMfoo.bar.md
foo.bar.flower.jpg
foo.bar.tree.png
See a partially relevant discussion here https://github.com/dendronhq/dendron/issues/1450 and add or upvote as desired.geetuu
01/17/2022, 10:49 AMgeetuu
01/17/2022, 10:49 AMTika
01/17/2022, 10:55 AMTika
01/17/2022, 10:56 AMDavid
01/17/2022, 10:57 AMmermaid
flowchart TD;
A --> B
click A "https://www.dendron.so"
click B "[[one.two.three]]"
mihaiconstantin
01/17/2022, 11:22 AMmihaiconstantin
01/17/2022, 11:56 AMjson
// .vscode/settings.json
{
"files.exclude": {
"**/.vscode": true,
"**/.dendron.cache.json": true,
"**/*schema.yml": true,
"**/*.md": false
}
}
More recently I started creating schemas (i.e., as some sort of a flexible alternative for folders) to have a sense of organization and to more look up notes faster.geetuu
01/17/2022, 11:59 AMmihaiconstantin
01/17/2022, 12:00 PMbash
#!/bin/bash
for i in {1..100000};
do
echo "---" >> "note.test$i.md"
echo "id: $(openssl rand -hex 11)" >> "note.test$i.md"
echo "title: Test" >> "note.test$i.md"
echo "desc: ''" >> "note.test$i.md"
echo "updated: 1642417675995" >> "note.test$i.md"
echo "created: 1642417180575" >> "note.test$i.md"
echo "---" >> "note.test$i.md"
echo "# Note" >> "note.test$i.md"
done
The VSCode explorer does lag. Starting Dendron takes some time (I think it is indexing). My Finder (equivalent to Explorer on Windows) handles the files well.mihaiconstantin
01/17/2022, 12:00 PMSeriousBug
01/17/2022, 12:00 PMSeriousBug
01/17/2022, 12:01 PMmihaiconstantin
01/17/2022, 12:02 PMSeriousBug
01/17/2022, 12:02 PMTika
01/17/2022, 12:03 PMmihaiconstantin
01/17/2022, 12:06 PMmazma
01/17/2022, 12:07 PMmihaiconstantin
01/17/2022, 12:16 PMbash
#!/bin/bash
# How many notes?
note_count=10000
for i in $(seq $note_count);
do
# A random wiki link.
link_to="[[note.test$(((RANDOM % $note_count) + 1))]]"
# Note body.
echo "---" > "note.test$i.md"
echo "id: $(openssl rand -hex 11)" >> "note.test$i.md"
echo "title: Test $i" >> "note.test$i.md"
echo "desc: ''" >> "note.test$i.md"
echo "updated: 1642417675995" >> "note.test$i.md"
echo "created: 1642417180575" >> "note.test$i.md"
echo "---" >> "note.test$i.md"
echo "" >> "note.test$i.md"
echo "# Note" >> "note.test$i.md"
echo "" >> "note.test$i.md"
echo "This note links to $link_to." >> "note.test$i.md"
done
Which will generate a note that looks like this:
markdown
---
id: 0ffcf3980aaf6bc88aefc8
title: Test
desc: ''
updated: 1642417675995
created: 1642417180575
---
# Note
This note links to [[note.test7933]].
mihaiconstantin
01/17/2022, 1:00 PMJoshi
01/17/2022, 1:05 PMDendron: Export Pod
and then select dendron.markdown
to export your workspace.hrmnjt
01/17/2022, 1:40 PMinfo: {"ctx":"dendron.exportPodv2:run","msg":"pre-execute"}
info: {"ctx":"dendron.exportPodv2:run","msg":"post-execute"}
error: {"ctx":"dendron.markdownexportv2:run","error":{"stack":"DendronError: This error should never occur! Please report a bug if you have encountered this.\n\tat t.assertUnreachable (/Users/hsingh/.vscode-insiders/extensions/dendron.dendron-0.77.1/dist/extension.js:2:108353)\n\tat Pr.enrichInputs (/Users/hsingh/.vscode-insiders/extensions/dendron.dendron-0.77.1/dist/extension.js:8:3048192)\n\tat Pr.run (/Users/hsingh/.vscode-insiders/extensions/dendron.dendron-0.77.1/dist/extension.js:8:2883705)\n\tat processTicksAndRejections (internal/process/task_queues.js:93:5)","message":"This error should never occur! Please report a bug if you have encountered this.","name":"DendronError","status":"unknown","payload":"{}"}}