GithubHelp home page GithubHelp logo

advanced-previewer's People

Contributors

glutanimate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

advanced-previewer's Issues

AttributeError: 'AdvancedBrowser' object has no attribute '_previewBoth'

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

Support Anki 2.1

i would appreciate if you could make this great addon work in Anki 2.1. Thank you very much!

mathJax support

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.

Rework card highlighting

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.