Expose __path and __relativePath options on md instance for md plugins
See original GitHub issueIs your feature request related to a problem? Please describe.
I found that #1240 has removed these two parameters, which makes it impossible for me to customize the MD plugin on this basis
Describe the solution you’d like
Can you __ Path
and __ Relativepath
these two attributes are added to the MD instance to better customize the MD plugin
Describe alternatives you’ve considered
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn’t already an issue that asks for the same feature to avoid creating a duplicate.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
markdown-magic/README.md at master - GitHub
This README.md is generated with markdown-magic view the raw file to see how. ... Options: src : The relative path to the file...
Read more >Markdown relative path being replaced with absolute path
When I build the markdown file, it is replacing relative paths to images with absolute paths. I am using the Markdown Editing and...
Read more >Configuration - MkDocs
All paths in the navigation configuration must be relative to the docs_dir configuration option. See the section on configuring pages and navigation for...
Read more >Links and Cross References | DocFX website - NET
Relative path vs. It's recommended to always use relative path to reference another file in the same project. Relative path will be resolved...
Read more >Absolute path needs to start with / for compatibility with other ...
But relative and absolute paths to files don't work there. E.g. In obsidian in path “folder1/folder2/file.md”: “forler1” is a root folder. In ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Uh yes, I forgot that.
@meteorlxy
I finally used
env.sfcblocks.scripts
because vitepress does not seem to handle 'env.sfcblocks.scriptsetup` code logic. But thank you for guiding me to solve the problem.