You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to introduce a new option transcludeAutowhich is similar to the transcludeWith but it didn't work. The pattern was found and also the _content was filled up with all the lines. But at the end in the browser it showed up: No lines matched.. It was very weird because it even didn't log this line (No lines matched) to the terminal (this logic I've added as well).
So I ended up replacing the logic with the existing transcludeWIth. This way it was working as expected. Also the No lines matched was printed to the terminal. It feels like vuepress was using some cached functions of plugins. But I did restart the process, do they realy can cache it across processes?
I've tried to introduce a new option
transcludeAuto
which is similar to thetranscludeWith
but it didn't work. The pattern was found and also the_content
was filled up with all the lines. But at the end in the browser it showed up:No lines matched.
. It was very weird because it even didn't log this line (No lines matched) to the terminal (this logic I've added as well).So I ended up replacing the logic with the existing
transcludeWIth
. This way it was working as expected. Also the No lines matched was printed to the terminal. It feels like vuepress was using some cached functions of plugins. But I did restart the process, do they realy can cache it across processes?Here is the code: https://github.com/timaschew/markdown-it-vuepress-code-snippet-enhanced/blob/6cab329cbc570010486e53687f9ae1c081ddcbef/src/plugin.js#L116-L133
The text was updated successfully, but these errors were encountered: