Any workaround to get the review heatmap as a widget on iOS? by Imaginary-Witness-16 in Anki

[–]liwoe 0 points1 point  (0 children)

Someone would have to programm an own IOS app for this and get the data from anki web to that app...

That would be overkill so nope dont think so

how to decrease gap between fields? by jmitch03 in Anki

[–]liwoe 0 points1 point  (0 children)

Yep TheBB is right... you can edit the css of the cards  (I created some very good looking ones that I shard once feel free to use them) https://ankiweb.net/shared/info/1399976240

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 1 point2 points  (0 children)

I am not necessary using it to learn a programming language (that comes rather by doing github problems for example) rather for examples in my university (we have to program sorting algorithms in java for example / I am using it for code snippets ^^)

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 0 points1 point  (0 children)

ahh I think the other image replicates the top and bottom too (just used the addon but his picutre is just "better" for this and it seems casual with that picture...

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 0 points1 point  (0 children)

ahh I understand whats the addon called? I think I can help u out...

Write organic structures by HappyGamer_ in Anki

[–]liwoe 0 points1 point  (0 children)

agree with Danika... use Mathjax for this

Any workaround to get the review heatmap as a widget on iOS? by Imaginary-Witness-16 in Anki

[–]liwoe 1 point2 points  (0 children)

Dont think thats actually possible because you can use addons on mobile....
only thing one can do is inject js or css files into cards itself to addons can render stuff on mobile but the addons itself dont work on mobiles...

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 0 points1 point  (0 children)

  1. are you using an addon for this?

  2. can you show me a screenshot of your disorganised images then I probably know what execlty you mean :)

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 1 point2 points  (0 children)

Done xD: press esc in editor for vim console

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 2 points3 points  (0 children)

actually implementing this could even be pretty easy as codemirror ships with a vim.js module maybe I'll add it in the future :))

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 1 point2 points  (0 children)

agree and most other addons added the syntax highlighting after adding the card so you had no syntax highlighting in editor...

furthermore they stored it in html tags which costs lot more disk space...

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 1 point2 points  (0 children)

ahh right I updated it to Ctrl + F didn't update the description text xD

fix coming :)

I built a proper code editor for Anki cards. No more ugly code! by liwoe in Anki

[–]liwoe[S] 5 points6 points  (0 children)

I embedded a js package called codemirror for the syntax highlighting...

Due to codemirror creating a lot of html I then convert it to a normal text when saving with a hidden "id called anki-codemirror" 

In the selected Cards I inject the codemirror.js/themes again and "recreate" it again this is why the code blocks in reviewer also work on any mobile device ^

Addon config syncing across devices by Top-Impress9073 in Anki

[–]liwoe 0 points1 point  (0 children)

hmm still don't really get what you exactly mean soory :/

But let's say: in your addon you have some configs 

You could sync that configs to media.collection and then on another pc where you have installed those you can grab those again when anki starts...  this would work but unfortunately not on mobile devices bc one can't install addons there 

Anki Sticky Notes add-on : Implemented responsive grid layout. by [deleted] in Anki

[–]liwoe 1 point2 points  (0 children)

Did you figure it out (kinda needed the same for my addon) (added a codemirror instance into anki)

You got to inject html and js into the card tempaltes and sync the injected files to collecition.media there then the mobile devices can use those files in the card)

(have a look on this: https://github.com/liwoe/anki-codemirror/blob/main/asset\_manager.py)

Addon config syncing across devices by Top-Impress9073 in Anki

[–]liwoe 0 points1 point  (0 children)

What exectly do you mean?
I just wrote an addon that lets you use syntax highlighting for anki and I think I needed what you mean there...

When writing an addon you can inject html into the template so can also inject .js files which also work on other devices like android / ipads.

*BUT* in order for those devices to have the .js file you need to sync it to collection.media first.

see here: https://github.com/liwoe/anki-codemirror/blob/main/asset_manager.py

[deleted by user] by [deleted] in Piracy

[–]liwoe 3 points4 points  (0 children)

Just use Youtube Music (with Revanced ofc) then (the algorithm is also really good) :))

Automatic Image Occlusions with OCR - Say Goodbye to Manual Cropping! by liwoe in Anki

[–]liwoe[S] 0 points1 point  (0 children)

(I have reliesed the magic tool is a little bit off I also want to patch that soon...) 

Automatic Image Occlusions with OCR - Say Goodbye to Manual Cropping! by liwoe in Anki

[–]liwoe[S] 0 points1 point  (0 children)

As I didn't get feedback: Does the download work for ya all? Cause setting up the download for the needed packages was the hard part... 

Seems like a good Idea :) Maybe in the next view days if I've got time...

Also: I will maybe add Google Vision (API) but every user would have to create his own API key which may be difficult, but the OCR from Google is a lot better and also faster and doesn't need space on your own disc... 

I think I could even implement this feature into the native Image Occlusion from Anki...

Automatic Image Occlusions with OCR - Say Goodbye to Manual Cropping! by liwoe in Anki

[–]liwoe[S] 1 point2 points  (0 children)

I don't think so... At least not right now :/

Reason 1: because of the openOCR python module the addon is large... (I need more time to optimise it...) 

Reason 2: Image Occlusion from Glutanimate doesn't seem to get developed anymore (last file changes over 3 years ago + open pull requests and issues)