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
Chapter names are used for rendering the sidebar table of contents. When it contains latex markup, then it's rendered correctly in the chapter contents, but the sidebar has the unrendered latex source code.
The processing is a matter of adding chapter.name to the rendering queue in preprocess::KatexProcessor::run and then popping it back. Preferable it would also pass a flag to get_render_tasks so that every ToC entry doesn't have its own reference to the stylesheet header.
This issue is blocked on rust-lang/mdBook#2179, because otherwise the result is even worse than having raw latex in the sidebar.
The text was updated successfully, but these errors were encountered:
Chapter names are used for rendering the sidebar table of contents. When it contains latex markup, then it's rendered correctly in the chapter contents, but the sidebar has the unrendered latex source code.
The processing is a matter of adding
chapter.name
to the rendering queue inpreprocess::KatexProcessor::run
and then popping it back. Preferable it would also pass a flag toget_render_tasks
so that every ToC entry doesn't have its own reference to the stylesheet header.This issue is blocked on rust-lang/mdBook#2179, because otherwise the result is even worse than having raw latex in the sidebar.
The text was updated successfully, but these errors were encountered: