glutanimate / advanced-previewer Goto Github PK
View Code? Open in Web Editor NEWAdvanced Previewer Add-on for Anki
Advanced Previewer Add-on for Anki
Regression that might be caused by inheriting from QDialog.
cf.: https://www.reddit.com/r/Anki/comments/6ytzln/problem_with_advanced_previewer/
title self explanatory
It makes sense to break the HTML up into multiple card elements when previewing multiple items, but not so much if we're only displaying one card at a time.
cf.: https://www.reddit.com/r/Anki/comments/6ytzln/problem_with_advanced_previewer/
Equations like this:
\[ x \]
and this:
\( x \)
are rendered in Anki 2.1 and on the iOS but not in advanced previewer in Anki 2.0. Using mathJax LaTeX can be viewed and edited anywhere, without requiring the desktop version. This would be a great addition.
Installed and got this right away, the version on the addon store give this:
An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons
Traceback (most recent call last):
File "anki\hooks.py", line 55, in repl
File "aqt\browser.py", line 1005, in onTogglePreview
File "C:\Users\Micah\Documents\Anki\addons_Editor_fontsize.py", line 984, in _openPreview
self._renderPreview(True)
File "anki\hooks.py", line 55, in repl
File "C:\Users\Micah\Documents\Anki\addons\advanced_previewer\previewer.py", line 298, in renderPreview
if cardChanged and not self._previewBoth:
AttributeError: 'AdvancedBrowser' object has no attribute '_previewBoth'
The beta version from releases on github gives:
An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons
Traceback (most recent call last):
File "anki\hooks.py", line 55, in repl
File "aqt\browser.py", line 1005, in onTogglePreview
File "C:\Users\Micah\Documents\Anki\addons_Editor_fontsize.py", line 984, in _openPreview
self._renderPreview(True)
File "anki\hooks.py", line 55, in repl
File "C:\Users\Micah\Documents\Anki\addons\advanced_previewer\previewer.py", line 590, in _renderPreviewWrapper
self._previewWindow.renderPreview(cardChanged)
AttributeError: 'QDialog' object has no attribute 'renderPreview'
I'm on windows 10, anki 2.0.41
Thanks for such a great idea!
I really want to delete or edit note in the previewer directly, or just with some convenient shortcut key. That would be very useful when bunch import a lot of cards!
Adjusting the background color of cards can reduce legibility on custom card templates. We should probably switch to a different way of highlighting the currently active card, e.g. by adjusting its frame or applying a drop shadow.
i would appreciate if you could make this great addon work in Anki 2.1. Thank you very much!
As I said above, I hope to receive update version soon. Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.