-
-
Notifications
You must be signed in to change notification settings - Fork 295
Open
Labels
scope.markdownRelating to markdown features (i.e. supporting new language syntax)Relating to markdown features (i.e. supporting new language syntax)status.triage-neededtype.bugSomething isn't workingSomething isn't working
Description
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
- Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
- Lookup. Dendron's Lookup Command
- Views. Dendron Preview, Tree View, Side Panels in the UI
- Schema. Dendron Schemas
- Pod. Data import from / export to Dendron
- Publish. External Site Publish
- Markdown. Markdown features, such as syntax support and features
Describe the bug
When making mermaid sequenceDiagram and using actors (stick figures) instead of participants (plain boxes) preview fails to parse diagram.
To Reproduce
- Use mermaid example code to see that mermaid is parsing at all
```mermaid
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
- change any 'participant Alice' to 'actor Alice'
- get parsing error:
Parse error on line 2:
...gram actor Alice participant Bob
----------------------^
Expecting 'SOLID_OPEN_ARROW', 'DOTTED_OPEN_ARROW', 'SOLID_ARROW', 'DOTTED_ARROW', 'SOLID_CROSS', 'DOTTED_CROSS', got 'NL'
Expected behavior
Box Alice changed to stick figure Alice as per mermaid documentation
Screenshots
Desktop (please complete the following information)
- OS: Windows_NT x64 10.0.19045
- Browser (if with published websites; include version): [e.g. chrome, safari]
- Versions (all that apply to bug):
- Dendron Extension: 0.124.0
- VS Code version: 1.99.3
- Dendron CLI:
Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dendron:Dev: Open Logs here
{"level":30,"time":1744836388814,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"Logger:configure","msg":"exit","logLevel":"info"}
{"level":30,"time":1744836388938,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"_activate","stage":"prod","isDebug":false,"logLevel":"info","logPath":"c:\\Users\\user\\AppData\\Roaming\\Code\\logs\\20250416T234624\\window1\\exthost\\dendron.dendron","extensionPath":"c:\\Users\\user\\.vscode\\extensions\\dendron.dendron-0.124.0","extensionUri":"c:\\Users\\user\\.vscode\\extensions\\dendron.dendron-0.124.0","workspaceFile":"g:\\My Drive\\NOTES\\dendron.code-workspace","workspaceFolders":["g:\\My Drive\\NOTES\\notes"]}
{"level":30,"time":1744836388988,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1744836388989,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1744836388989,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1744836388989,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1744836388989,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"anonymous id","anonymousId":"o27sux8md0rmn1c7sf735nr"}
{"level":30,"time":1744836388998,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"DendronExtension","msg":"initialized"}
{"level":30,"time":1744836391165,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:init","msg":"enter","opts":{}}
{"level":30,"time":1744836391165,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:createServerWatcher","msg":"enter","opts":{}}
{"level":30,"time":1744836391702,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"_activate","msg":"initializeWorkspace","wsType":"CODE","currentVersion":"0.124.0","previousGlobalVersion":"0.124.0","extensionInstallStatus":"NO_CHANGE"}
{"level":30,"time":1744836391705,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WorkspaceActivator.init:postSetupTraits","wsRoot":"g:\\My Drive\\NOTES"}
{"level":30,"time":1744836391732,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"runMigrationsIfNecessary","changes":[],"workspaceInstallStatus":"NO_CHANGE"}
{"level":30,"time":1744836391732,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WorkspaceActivator.init:postMigration","wsRoot":"g:\\My Drive\\NOTES"}
{"level":30,"time":1744836391751,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WorkspaceActivator.init:postWsServiceInitialize","wsRoot":"g:\\My Drive\\NOTES"}
{"level":30,"time":1744836391775,"pid":47696,"hostname":"L-123811660","name":"execServer","state":"enter"}
{"level":30,"time":1744836391793,"pid":47696,"hostname":"L-123811660","name":"execServer","state":"post:exec.node"}
{"level":30,"time":1744836392520,"pid":2952,"hostname":"L-123811660","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1744836392520,"pid":2952,"hostname":"L-123811660","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1744836392520,"pid":2952,"hostname":"L-123811660","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1744836392521,"pid":2952,"hostname":"L-123811660","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1744836392521,"pid":2952,"hostname":"L-123811660","name":"SegmentClient","msg":"anonymous id","anonymousId":"o27sux8md0rmn1c7sf735nr"}
{"level":30,"time":1744836393307,"pid":47696,"hostname":"L-123811660","name":"execServer","state":"message","message":"51416"}
{"level":30,"time":1744836393307,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"handleServerProcess","msg":"subprocess running","pid":2952}
{"level":30,"time":1744836393308,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"startServerProcess","msg":"post-start-server","port":51416,"durationStartServer":1540}
{"level":30,"time":1744836393321,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WorkspaceActivator.init:verifyOrStartServerProcess","port":51416}
{"level":30,"time":1744836393331,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WorkspaceActivator.init:exit"}
{"level":30,"time":1744836393339,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1744836393339,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1744836393339,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1744836393339,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"anonymous id","anonymousId":"o27sux8md0rmn1c7sf735nr"}
{"level":30,"time":1744836393339,"pid":47696,"hostname":"L-123811660","name":"dendron","msg":"Telemetry is disabled? false"}
{"level":30,"time":1744836393339,"pid":47696,"hostname":"L-123811660","name":"dendron","msg":"Segment Residual Cache Path is at c:\\Users\\user\\AppData\\Roaming\\Code\\User\\globalStorage\\dendron.dendron\\segmentresidualcache.log"}
{"level":30,"time":1744836393340,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"Attempting to flush residual segment data from file."}
{"level":30,"time":1744836393356,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"_activate:postSetupWorkspace","platform":"win32","extensions":[{"id":"dendron.dendron","version":"0.124.0","active":true},{"id":"dendron.dendron-paste-image","version":"1.1.1","active":false},{"id":"dendron.dendron-markdown-shortcuts","version":"0.12.1","active":true},{"id":"redhat.vscode-yaml","version":"1.17.0","active":false}],"vaults":[{"fsPath":".","selfContained":true,"name":"NOTES"}]}
{"level":30,"time":1744836393357,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"dendron.reloadIndex:run","msg":"pre-execute"}
{"level":30,"time":1744836393358,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"ReloadIndex.execute","msg":"enter"}
{"level":30,"time":1744836394082,"pid":2952,"hostname":"L-123811660","name":"logger","ctx":"parsingSchemas","fname":"root","root":{"fsPath":".","selfContained":true,"name":"NOTES"},"imports":[]}
{"level":30,"time":1744836394132,"pid":2952,"hostname":"L-123811660","name":"logger","ctx":"parsingSchemas","fname":"dendron.meet","root":{"fsPath":".","selfContained":true,"name":"NOTES"},"imports":[]}
{"level":30,"time":1744836394134,"pid":2952,"hostname":"L-123811660","name":"logger","ctx":"parsingSchemas","fname":"dendron.daily","root":{"fsPath":".","selfContained":true,"name":"NOTES"},"imports":[]}
{"level":30,"time":1744836394174,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:_connect","portCreated":1744836393320,"wsActivation":1744836391756}
{"level":30,"time":1744836394178,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:_connect","msg":"initFromExistingFile","port":51416}
{"level":30,"time":1744836394178,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:tryToConnect","port":51416,"msg":"enter"}
{"level":30,"time":1744836394185,"pid":47696,"hostname":"L-123811660","name":"logger","ctx":"FileStorageV2","wsRoot":"g:\\My Drive\\NOTES","level":"info"}
{"level":30,"time":1744836394191,"pid":47696,"hostname":"L-123811660","name":"dendron","msg":"Segment Residual Cache flush attempted. {\"successCount\":0,\"nonRetryableErrorCount\":0,\"retryableErrorCount\":0}"}
{"level":30,"time":1744836394491,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"ReloadIndex.execute","durationEngineInit":713}
{"level":30,"time":1744836394491,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"ReloadIndex.execute","msg":"exit"}
{"level":30,"time":1744836394491,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"dendron.reloadIndex:run","msg":"post-execute"}
{"level":30,"time":1744836394497,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"reloadWorkspace","msg":"post-ws.reloadWorkspace"}
{"level":30,"time":1744836394498,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"reloadWorkspace","msg":"exit"}
{"level":30,"time":1744836394508,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"postReloadWorkspace","msg":"same wsVersion"}
{"level":30,"time":1744836394508,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"postReloadWorkspace","msg":"exit"}
{"level":30,"time":1744836394510,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"setupViews","msg":"init:treeViewV2"}
{"level":30,"time":1744836394511,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"setupBacklinkTreeView","msg":"init:backlinks"}
{"level":30,"time":1744836394680,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WorkspaceActivator:activate","msg":"fin startClient","durationReloadWorkspace":1191}
{"level":30,"time":1744836394680,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"activateWorkspace","stage":"prod","msg":"enter"}
{"level":30,"time":1744836394696,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"togglePluginActiveContext","state":"togglePluginActiveContext: true"}
{"level":30,"time":1744836394715,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:tryToConnect","msg":"connected","info":{"version":"0.124.0"}}
{"level":30,"time":1744836394715,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:connectAndInit","msg":"checking for engine"}
{"level":30,"time":1744836394715,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:connectAndInit","msg":"found engine"}
{"level":30,"time":1744836394715,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:initEngine","msg":"enter","port":51416}
{"level":30,"time":1744836394763,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"showWelcomeOrWhatsNew","version":"0.124.0","previousExtensionVersion":"0.0.0"}
{"level":30,"time":1744836403211,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:createServerWatcher","msg":"fileWatcher:onChange","port":51416}
{"level":30,"time":1744836403212,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:onChangePort","port":51416,"portPrev":51416}
{"level":30,"time":1744836404030,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:createServerWatcher","msg":"fileWatcher:onChange","port":51416}
{"level":30,"time":1744836404031,"pid":47696,"hostname":"L-123811660","name":"connector","ctx":"EngineConnector:onChangePort","port":51416,"portPrev":51416}
{"level":30,"time":1744836409951,"pid":47696,"hostname":"L-123811660","name":"dendron","msg":"sendSavedAnalytics"}
{"level":30,"time":1744836409952,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"AnalyticsUtils.sendSavedAnalytics","message":"start"}
{"level":30,"time":1744836634554,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744836637190,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744838889823,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":[]}
{"level":30,"time":1744838889824,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744838889843,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["Untitled-2"]}
{"level":30,"time":1744838889845,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744838889846,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WorkspaceWatcher:onFirstOpen","msg":"enter","fname":"Untitled-2"}
{"level":30,"time":1744838893222,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":[]}
{"level":30,"time":1744838893223,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744838893235,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["Untitled-1"]}
{"level":30,"time":1744838893237,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744839646751,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744839802345,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744839993302,"pid":47696,"hostname":"L-123811660","name":"SegmentClient","msg":"Attempting to flush residual segment data from file."}
{"level":30,"time":1744839993310,"pid":47696,"hostname":"L-123811660","name":"dendron","msg":"Segment Residual Cache flush attempted. {\"successCount\":0,\"nonRetryableErrorCount\":0,\"retryableErrorCount\":0}"}
{"level":30,"time":1744840084051,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"dendron.dev.openLogs:run","msg":"pre-execute"}
{"level":30,"time":1744840084051,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"execute","opts":{}}
{"level":30,"time":1744840084084,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"dendron.dev.openLogs:run","msg":"post-execute"}
{"level":30,"time":1744840084093,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":[]}
{"level":30,"time":1744840084094,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744840084123,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Users\\user\\AppData\\Roaming\\Code\\logs\\20250416T234624\\window1\\exthost\\dendron.dendron\\dendron.log"]}
{"level":30,"time":1744840084127,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1744840084134,"pid":47696,"hostname":"L-123811660","name":"dendron","ctx":"WorkspaceWatcher:onFirstOpen","msg":"enter","fname":"dendron.log"}
Metadata
Metadata
Assignees
Labels
scope.markdownRelating to markdown features (i.e. supporting new language syntax)Relating to markdown features (i.e. supporting new language syntax)status.triage-neededtype.bugSomething isn't workingSomething isn't working
