We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to implement postAsset in markdown-it render.
I try implement it with a filter bind to markdown-it:renderer. But later I can't find a way to access data.path like here in the filter.
markdown-it:renderer
data.path
Is there any way to access the post currently render in markdown-it:render filter?
markdown-it:render
Maybe add an args when execute the filter may help?
this.execFilterSync('markdown-it:renderer', parser, { context: this , args: [data.path]});
The text was updated successfully, but these errors were encountered:
See hexojs/hexo-renderer-marked#173
Sorry, something went wrong.
The problem is I cannot access data https://github.com/curbengh/hexo-renderer-marked/blob/d5c2ed1ec65fa400def711287e40d85befe405dc/lib/renderer.js#L227 in the filter @SukkaW
Make a pull request about this #141
Successfully merging a pull request may close this issue.
I want to implement postAsset in markdown-it render.
I try implement it with a filter bind to
markdown-it:renderer
. But later I can't find a way to accessdata.path
like here in the filter.Is there any way to access the post currently render in
markdown-it:render
filter?Maybe add an args when execute the filter may help?
The text was updated successfully, but these errors were encountered: