Navigation

    Migaku Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Escaping syntax characters when contained in definition [FIXED]

    Migaku Browser Extension
    2
    5
    14
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Maiestas last edited by SteviMigaku

      Does anyone know if there's a way to automatically escape "[]" in Anki when adding definitions? Those are the symbols for the syntax, but are also sometimes contained on definitions, e.g. [0] = Heiban in shinmeikai. They are then displayed as follows:
      anki_O9hsohZ0WV.jpg
      See little 0 after the second してき
      On hover:
      anki_aO5g7PERT3.jpg

      SteviMigaku 1 Reply Last reply Reply Quote 0
      • SteviMigaku
        SteviMigaku @Maiestas last edited by

        @maiestas
        Ok thats what I thought. I have the Shinmeikai with those brackets as well and it works as intended.

        1 Reply Last reply Reply Quote 0
        • M
          Maiestas @Maiestas last edited by

          @maiestas I solved it. It was again a Shinmeikai definition from the old addons that was getting parsed.

          SteviMigaku 1 Reply Last reply Reply Quote 0
          • M
            Maiestas @SteviMigaku last edited by

            @stevimigaku I'm using the Shinmekai to check on the autogenerated Pitch accent. The Shinmeikai has format [X]. Those [] are getting parsed by the pitch accent generator when they shouldn't be.

            M 1 Reply Last reply Reply Quote 0
            • SteviMigaku
              SteviMigaku @Maiestas last edited by

              @maiestas
              Not sure what exactly you mean, but this seems like its not a normal card type. Normally on hover it should only display the reading colored according to the pitch of the word, plus a line to indicate the pitch.

              M 1 Reply Last reply Reply Quote 0
              • First post
                Last post