pawamoy / pawamoy/markdown-exec
Hyperlinks to files in `tree` mode
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 174
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Discussed in https://github.com/pawamoy/markdown-exec/discussions/78
Originally posted by mflova February 24, 2025
Let's say I have a code block like this:
```tree
(file.csv)[file.csv]
```
Would there be a way to attach a link to this file? The only way I can think about is with annotations via # (1)1. But inside there I would just write a message saying "LINK", which makes it quite repetitive if multiple files are present. Is there an easier way? Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Discussion 78 and locating the implementation for tree blocks. Reproduce the (file.csv)[file.csv] example, then determine how file entries and links are currently rendered. Done means tree entries can express links without requiring repetitive annotations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, python
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100