Skip to content

A customizable and flexible flashcard generation solution, specifically designed for Cloze Deletions in spaced repetition platforms. Aiming for visually appealing study notes with personalized formatting options such as Markdown bold, highlight, and more.

License

Notifications You must be signed in to change notification settings

MotaOcimar/clozecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clozecraft

Clozecraft is a package that aims to creat cloze deletion flashcards from text. It seeks to be simple, easy to use, and flexible.

Usage Example

import { ClozeCrafter } from "clozecraft";

const clozeCrafter = new ClozeCrafter( ['{{[c123::]answer[::hint]}}'] );
const clozeNote = clozeCrafter.createClozeNote('People from {{c1::Brazil::country}} are called {{c2::Brazilians::nationality}}.');

console.log(clozeNote?.getCardFront(0)); // People from [country] are called Brazilians.
console.log(clozeNote?.getCardBack(0)); // People from Brazil are called Brazilians.
console.log(clozeNote?.getCardFront(1)); // People from Brazil are called [nationality].
console.log(clozeNote?.getCardBack(1)); // People from Brazil are called Brazilians.

About

A customizable and flexible flashcard generation solution, specifically designed for Cloze Deletions in spaced repetition platforms. Aiming for visually appealing study notes with personalized formatting options such as Markdown bold, highlight, and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published