Git Product home page Git Product logo

an-plugin's Introduction

a(n) plugin

Simple anki plugin to not give away how a word starts when doing fill-in-the-gap cards. Shows "a(n)" in the front and "a" or "an" in the back.

A word of warning: setting this up assumes familiarity with Anki and web technologies.

Usage

When the setup is done (read below), you use the a(n) toolbar button to select what you want to see in the back (e.g. a)

img.png

Then you can complete the card.

img.png

And enjoy the result:

img.png img.png

You can also download this sample card.

Setup

For the plugin to work you need to adapt the note type you want to use for English clozes.

First, include this CSS by:

  • Go to the card browser and select one card of the note type you want to use

  • Click on Cards... > Styling

  • Add this:

    .front-only {
      display: show;
    }
    .answer .front-only {
      display: none;
    }
    

Then, you need to have the back template marked with class answer. To do so, click in Back template and surround the content with:

   <div class="answer">
     ... your template...
   </div>

an-plugin's People

Contributors

sortega avatar

Watchers

 avatar  avatar  avatar

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.