-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
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
Embed files does not work #1005
Comments
is it same for prev version ? |
I tried with :
:( |
thanks, I will check it soon 👍 |
Also, from @4.8.0, embed file feature works, however, from a specific plugin, I'd like to change content so, from $docsify.plugins = [].concat(install, $docsify.plugins);
// Install a specific plugin to force current sidebar item active into collapse state
function install(hook, vm) {
hook.beforeEach(function(content) {
// Invoked each time before parsing the Markdown file.
// ...
console.log(content)
return content;
});
}
Thanks a lot for your feedback! |
Yes it can't read the embedded file's code |
No workaround is possible? |
i cant say that right now, I need to check and try. |
what a coincidence! I just got hit by it right now! Try with single quotes, like in: Works for me! |
@gigaga can you try this |
Hello @anikethsaha Like you, it's work by using single quotes! Thanks! |
About embedded files processing, I can do what I want by override markdown function. Thanks again :) |
Yea you can use the plugin hook to get into the core op. |
Will be fixed by #1598 |
Bug Report
By using the last release of docsify (from CDN https://cdn.jsdelivr.net/npm/docsify@4), the feature Embed files does not work.
Steps to reproduce
From the code below :
What is current behaviour
The render will be a link name filename.
What is the expected behaviour
The test.md content should be rendered directly (embedded).
Other relevant information
Bug does still occur when all/other plugins are disabled?
Your OS: Windows
Node.js version: v10.15.3
npm/yarn version: npm 6.4.1
Browser version: Chrome
Docsify version: 4.4.0
Docsify plugins: tried without any plugins, but I have the same issue
The text was updated successfully, but these errors were encountered: