Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Example for js script execution seems to be wrong.

Open
#644 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Start with the Run JavaScript example at the linked documentation page and compare its displayed expression with the reported console output. Update the example so it demonstrates JavaScript variable access rather than literal template text, then rerun the example and confirm that the greeting value appears in the output.

Written by the indexing model from the issue text.

Description

documentation
Please fill out these Check-boxes
  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persists with all other plugins and themes disabled
Plugin Version

1.4.6

This Issue Occurs on
  • Windows
  • Linux
  • macOS
  • Android
  • iOS
Debug Info
Console output when running the example:

Hello ${context.args.greeting}!
Describe the Issue

Using the example at https://www.moritzjung.dev/obsidian-meta-bind-plugin-docs/reference/buttonactions/runjavascript/ I would suggest that using the context variable is presented wrong. Instead of:

console.log('Hello ${context.args.greeting}!');

it should be:

console.log('Hello ' + context.args.greetings + '!');

as this is not any templating code or such, but JavaScript. The example as it is just prints the original string "Hello ${context.args.greeting}!" without any variable expansion.

Great plugin btw... thank you for all the hard work :-).

Steps to Reproduce

Just set up the example and run it.

Expected Behavior

The variable should be expanded and the actual value should be printed.

Dominant language
TypeScript
Stars
1k
Forks
86
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mProjectsCode/obsidian-meta-bind-plugin

All issues in mProjectsCode/obsidian-meta-bind-plugin

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.