pawamoy / pawamoy/markdown-exec

feature: Export env vars for current source and session

Open
#60 0 comments 0 reactions 1 assignee View on GitHub

@pawamoy is already working on this.

Since Jul 8, 2024.

feature
Dominant language
Python
Stars
174
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.

As we see in the File-tree gallery example, we have to pass the session name to the recursive function. Could be nice to have an exported env var instead for that.

For language which do not allow recursivity, it could be useful to also export the current source.

Describe the solution you'd like
  • MARKDOWN_EXEC_CURRENT_SOURCE
  • MARKDOWN_EXEC_CURRENT_SESSION
Describe alternatives you've considered

/

Additional context

/

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.