Problem with templates and Chinese Text

The preview issue is the same issue as the link below.

Preview will not update if the title starts with Japanese

If the title is a 2-byte character, $HTMLExportFileName must be alphanumeric.
I use a stamp to set $HTMLExportFileName in English ( with Translate Shell ).

I made a simple modification based on the original file.

  • Set $HTMLExportFileName of each note in English

  • Set MyNumber

  • Fix the “弧线视图/Element” template
    <a href="SceneView/^value($HTMLExportPath.split("/").at(-1))^">
    <a href="^value($HTMLExportFileName($Name(parent)))^/^value($HTMLExportPath.split("/").at(-1))^">

  • Add and fix “Templates/Header” from the original file.

样板FixVersion.tbx (1.1 MB)

1 Like