Adding personal fields (and card template edits) to a shared Ankihub deck

Hi, not all decks on Ankihub have extra fields for personal notes (that may be protected from updating), like the Anking Overhaul deck does. Is it therefore possible to just add a field to the notetype of an existing deck, without disturbing any syncing in the future? Such a field does not necessarily have to be used on a card, because sometimes, I just need an extra field as an alternative to a tag.

Then, many card templates state the text mentioned in screenshot below. Does this mean that I can alter the template by inserting this personal field I just created? Again, without disturbing any syncing with Ankihub.

You can alter the styling but not the fields or it will change the note type. This is something that’s on our todo list in the near future.

1 Like

Thanks for the explanation. Too bad I can’t add a field then, for now.

As a temporary solution, wouldn’t it be a good idea to add a couple of extra (blank, unused) fields to each note type of each deck on Ankihub? This wouldn’t change anything for existing users, nor for users that do not want to make use of these. However, users like me can then just use these blank fields to store any additional info, and insert them in their card templates if needed.

Adding that feature would take almost as much time as it will to do the note type collaboration we’re hoping to add. Unfortunately none of these are easy fixes because note types are very complicated in Anki

Out of curiosity (hope it isn’t too off topic)

The german community is in dire need of the ability to modify note types via Ankihub. Our current workaround is pushing manual updates though these changes get reverted when people join Ankihub. From formatting-fixes for tables to adding new fields, fixing missing symbols by adding another font or updating Feedback links in our notetype.

We are also working on a one-by-one notetype ourself and already tagging notes that would benefit from it in the future. Is the ability to change a notes notetype on your agenda too?

Yup! Realistically will be worked on after notifications (or possibly at the same time) and this is next on our agenda. Hopefully within 3 months?

You could fork the anking note types addon and use it for your note type?

You could fork the anking note types addon and use it for your note type?

If that is ok with you/Anking Team we would start looking into it!

Yup it’s fine with me! Just remove the AnKing stuff from it.

1 Like

So I was grepping through reddit/forums/ankihub docs and I finally stumbled upon this topic. If I understand correctly:

  • Neither front nor back note type code can be edited right now
  • Styling of cards can be edited in any way
  • The ANKIHUB_END section is just a placeholder for now?

That leads me to the questions:

  1. What will happen if I edit the template? Will AnkiHub plugin overwrite it on sync/on change on the AH side?
  2. If not, are templates updated by AnkiHub?
  3. What happens when a new style changes are pushed into a shared deck?

These questions are prompted by two things. First, AnKing template contains configurable auto-reveal in the back template:

var ButtonAutoReveal = {
    "Lecture Notes" : false,
    //....
    "Additional Resources" : false,
}

Second, I wanted to utilize “User Action” in AnkiMobile (iOS) to reveal e.g. Lecture Notes and Missed Questions with controller. As per @AnKingMed on reddit this should work out of the box… but the template doesn’t seem to have provisioning for it and after trying every User Action nothing happens.


I think it would be useful to add some info to the docs as to how templates are handled by AH.

Yes. Your changes will be overwritten next time you pull from AnkiHub.

You can’t really suggest new style changes for a shared deck, you can only edit it locally and it won’t be overwritten.

So, in essence AnKing template options aren’t editable when used with AnkiHub?

I’m not a maintainer on any deck, but I’m assuming there’s some way for the owner to push template changes?

We will be adding support for note type edits and things like that in the near future. It is on the list for things we want to do! Currently, you cannot change the note type or you will encounter syncing issues with AnkiHub

You can edit the back, front template and styling without issues. You’ll encounter issues if you change the fields and stuff of the note type.

3 Likes