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
/* Add to the top */varghostLatex=require('./ghostLatex');/* Update converter = new Showdown.converter({extensions: ['ghostgfm', 'footnotes', 'highlight']}),to*/converter=newShowdown.converter({extensions: [ghostLatex,'ghostgfm','footnotes','highlight']}),
Only new posts will be affected after Ghost server is restarted, if you want to update all your published posts, you might need to edit and update them.
The text was updated successfully, but these errors were encountered:
1. Code Injection
Add following codes to
{{ghost_foot}}
tag:2. Escape
a_i, b_i
$a_i, b_i$
like LaTex equations might be parsed into$a<em>i, b</em>i
. We need a custom extension of Showdown to escape this transition:Edit
$BLOG/core/server/models/post.js
:Only new posts will be affected after Ghost server is restarted, if you want to update all your published posts, you might need to edit and update them.
The text was updated successfully, but these errors were encountered: