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
Currently, in Markdown Cite nodes in figure, table and chunk captions are not being resolved e.g.
This is likely because the decodeCite function does not get passed a context when called from within decodeCodeChunk etc. A quick fix would be to pass through the context. But I do wonder if it wouldn't be better to not pass the context around as we are currently doing and instead resolve the cite nodes separately using the transform function after doing the first decoding pass. I suspect that this would reduce the complexity of the code and make it easier to debug issues like this.
The text was updated successfully, but these errors were encountered:
Currently, in Markdown
Cite
nodes in figure, table and chunk captions are not being resolved e.g.This is likely because the
decodeCite
function does not get passed acontext
when called from withindecodeCodeChunk
etc. A quick fix would be to pass through the context. But I do wonder if it wouldn't be better to not pass the context around as we are currently doing and instead resolve the cite nodes separately using thetransform
function after doing the first decoding pass. I suspect that this would reduce the complexity of the code and make it easier to debug issues like this.The text was updated successfully, but these errors were encountered: