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
Is there any option to optimize either KateX, or code blocks (highlight.js) or both?
As of now, optimizing or setting prerender=true in serve() disables any custom js added to KateX or code blocks. Addeding the above option would be beneficial as custom JS scripts would be used mostly with code blocks (like code copy with clipboard.js) and prerendering only KateX may still provide some speedup in page loading.
Thanks!
The text was updated successfully, but these errors were encountered:
No though I would support a PR adding a keyword to optimise and doing only katex or Hl.
Side note: in the long term as mentioned elsewhere, pre-rendering will effectively be dropped from core Franklin in favour of plugins/ci scripts that users can choose to call if they wish to as part of their deployment process.
Is there any option to optimize either KateX, or code blocks (highlight.js) or both?
As of now, optimizing or setting
prerender=true
inserve()
disables any custom js added to KateX or code blocks. Addeding the above option would be beneficial as custom JS scripts would be used mostly with code blocks (like code copy withclipboard.js
) and prerendering only KateX may still provide some speedup in page loading.Thanks!
The text was updated successfully, but these errors were encountered: