Moving my blog from Octopress to Hexo for almost half a year, everything is quit user-friendly(docs, writing experience, etc.), except the
Template render error caused by invisible zero width characters, e.g.
There is official troubleshooting solution for this issue, but does not mention the main root cause and solution.
Exception raised by
hexo s --debug:
Template render error: (unknown path)
SyntaxError: Invalid or unexpected token
This plugin will remind u all the invisible zero width characters in realtime:
- Step 1: trigger searching actions(
⌘ + shift + A):
- Step 2: find all annoying zero width unicode characters and fix them!!!