Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable substitution on default variable not apply properly after apply template #3986

Open
1 of 7 tasks
Wingless-Archangel opened this issue Jun 14, 2024 · 0 comments
Open
1 of 7 tasks
Labels
scope.markdown Relating to markdown features (i.e. supporting new language syntax) status.triage-needed type.bug Something isn't working

Comments

@Wingless-Archangel
Copy link

Wingless-Archangel commented Jun 14, 2024

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 referencing default variable in Temeplate, the value will not be substituted and got the blank value instead

To Reproduce

Steps to reproduce the behavior:

  1. create the template with the variable that reference the default variable such as title
  2. create the new document without template
  3. use vscode command to apply the template
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

  • OS: MacOS 14.5 (23F79)
  • Browser: N/A
  • Versions (all that apply to bug):
    • Dendron Extension: v0.124.0
    • VS Code version: Version: 1.90.0
    • Dendron CLI: N/A

Additional context

N/A

Dendron Log file

the log is here

@github-actions github-actions bot added scope.markdown Relating to markdown features (i.e. supporting new language syntax) status.triage-needed type.bug Something isn't working labels Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope.markdown Relating to markdown features (i.e. supporting new language syntax) status.triage-needed type.bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant