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, the getAdmonitionElement function renders markdown but returns an empty sourcePath so markdownPostProcessors get triggered but with no sourcePath context. This is an issue for postProcessors that wish to work with the admonitions plugin. I understand that the plugin renders things following this as well which do provide sourcePaths, but the getSectionInfo seems to only work on the render that returns an empty sourcePath.
If I'm misunderstanding why this should return an empty sourcePath, then apologies but if changing it to include a sourcePath isn't an issue, that would be greatly appreciated!
Discovery
Rather than returning '' to the sourcePath for the getAdmonitionElement function in main.ts line 424, return the actual sourcePath.
Validate
No changes should be required outside of this.
The text was updated successfully, but these errors were encountered:
Scope
Currently, the
getAdmonitionElement
function renders markdown but returns an empty sourcePath so markdownPostProcessors get triggered but with no sourcePath context. This is an issue for postProcessors that wish to work with the admonitions plugin. I understand that the plugin renders things following this as well which do provide sourcePaths, but thegetSectionInfo
seems to only work on the render that returns an empty sourcePath.If I'm misunderstanding why this should return an empty sourcePath, then apologies but if changing it to include a sourcePath isn't an issue, that would be greatly appreciated!
Discovery
Rather than returning
''
to the sourcePath for thegetAdmonitionElement
function inmain.ts
line 424, return the actual sourcePath.Validate
No changes should be required outside of this.
The text was updated successfully, but these errors were encountered: