| **Prompt you input** |
| Requesting to change or improve your flashcards for a single highlight
| **Prompt you input** |
| Running an [edit command](/workflow/notebook/highlights#edit-commands)
| **Refinement prompt** |
| Called by the **Highlighter** after running the [Generator](/workflow/notebook/generate)
| **Part of the prompt you input.** The highlighter determines which parts of the original prompt are relevant for that particular highlight, and uses that. |
# Card Formats
Source: https://docs.janus.cards/flashcards/format
## Markdown
All card types support most markdown features including:
* **Bold text** with `**word**`
* *Italicizing* with `*word*`
* Inline maths, like $a^2 + b^2 = c^2$, by surrounding MathJax or LaTeX equations with `$...$`
* Code blocks, like `print("Hello, world!")`, by surrounding with backticks.
For a guide on markdown generally, you can take a look at this [guide](https://guides.github.com/features/mastering-markdown/)
## Card Types
Currently, Janus supports two card types: **Question & Answer** (Q\&A) and **Cloze cards**.
### Q\&A
You can make a Q\&A card by separating the front-side (question) and the back-side (answer) using three dashes (`---`).
For example:
```
What is the capital of France?
---
Paris
```
### Cloze
A cloze is a kind of **fill in the blank** card; the blank is referred to as the **deletion**. The front-side will show the text with blanks and then the back-side will fill in the blanks for you.
### Simple Deletions:
To create a deletion, hide the text in two curly braces (i.e. `{{..}}`).
For example:
```
The top three largest countries in the world are {{Russia}}, {{Canada}} and {{China}}
```
has **front-side**
```
The top three largest countries in the world are ______, ______ and ______
```
and **back-side**:
```
The top three largest countries in the world are Russia, Canada and China
```
## Exporting with AnkiConnect
[AnkiConnect](https://ankiweb.net/shared/info/2055492159) is an Anki plugin that allows external applications to interact directly with your Anki collection. You are then able to export directly into an existing or new deck with one click.
* Add `"https://app.janus.cards"` to the `webCorsOriginList`. Do not forget to add a comma between each element in the list, and do not add an extra `/` at the end of the URL.
* Restart Anki if the add-on prompts you to apply the new configuration.
# Mochi
Source: https://docs.janus.cards/workflow/export/integrations/mochi
# Overview
Source: https://docs.janus.cards/workflow/export/overview
## Supported Integrations
Select the material you want to make flashcards for, including:
* [PDFs](/workflow/upload/integrations/pdf) of your lecture notes, textbooks or research papers.
* [Text](/workflow/upload/integrations/text) from your digital note taking app.
* [YouTube](/workflow/upload/integrations/youtube) links of online lectures or tutorials.
* [URLs](/workflow/upload/integrations/url) of online essays, blogs and articles.
* [Audio](/workflow/upload/integrations/audio) of recorded lectures.
* [Readwise](/workflow/upload/integrations/readwise) highlights of books or podcasts.
Add a prompt for what you want highlighted and flashcards on. Then watch as Janus digests your material to create a deck. Save the cards you like and delete the ones you don't.
Review all your flashcards. Request additional cards for missing content or refine what you already have.
Export to your favorite spaced repetition app.
# Document Reader
Source: https://docs.janus.cards/workflow/notebook/document-reader
## Overview
Once your material has been uploaded, the converted text will appear in the **Document Reader**. The Document Reader allows you to view text, select sections to create new highlights, view existing highlights, and quickly generate cards for a particular highlight.
## Existing Highlights
Highlights are overlayed on top of the document text, and are colour coded:
* **Blue with stripes** = Proposed highlights that are not yet saved (see [proposing highlights](/workflow/notebook/generate))
* **Yellow** = Saved highlight with no flashcards
* **Green** = Saved highlight with flashcards
## Creating New Highlights
You can select a region of text, and it will be automatically turned into a saved highlight. For inline or block **maths text**, the entire equation is converted to a highlight even when only a portion is selected.
## Generating Cards
Hovering over an existing highlight will open a tooltip above. In addition to being able to quickly delete the highlight, you can run the card generator on the highlight with an optional prompt.
# Generate
Source: https://docs.janus.cards/workflow/notebook/generate
## Overview
The generate tab is the primary location for making **large quantities of flashcards**. Creating an entire batch of cards from a text usually takes around 45 seconds, and can produce as many cards as is needed to cover your request. It is controlled by an optional user prompt.
When called, the **generator** performs two tasks: 1) **Highlighting**, and 2) **Writing flashcards for each highlight**.
## Highlighting
The goal of the highlighter is to collect suitable snippets from the document that the user wants to remember the content for.
There are two **highlighting modes** the AI can use:
1. **Propose**: The AI will snip sections of text that are not yet highlighted. **Proposed highlights will not overlap with any existing highlights.**
2. **Select**: The AI will collect existing highlights that it believes are relevant.
Once highlights have been determined, the [flashcard writer](/flashcards/algorithm) is called on each highlight in parallel.
#### Prompt
The AI collects highlights based on what it thinks **is relevant to the user**.
* If **no prompt** is given, it will infer the most valuable sections of the text and use them.
* If **a prompt is given**, it will try to interpret any instructions the user has given to narrow down its search.
## Generating Cards
Each highlight is then passed through the [flashcard writer](/flashcards/algorithm), using parts of the original prompt as the input prompt to the writer.
## Review
As highlights are selected and flashcards are generated, you can begin to review, edit and accept the cards you want to keep.
The review section contains a list of highlights along with the cards for each highlight. You are shown just one of these highlights at a time, and can navigate through the list using the up and down arrows.
### Editing
You can edit cards the same way after running the generator as you can in the highlights tab. See [Editing cards](/workflow/notebook/highlights#editing).
### Accepting / Rejecting
Once you are happy with the cards for a single highlight, you can save it using the green "save" button. This will save the highlight (if it is new) and the cards as well. You can also save all the highlights and cards using the "Save All Highlights" green button.
Alternatively, if none of the cards are wanted you can delete both the highlight and the cards using the red "delete" button.
## Batch Improvements
If the first pass didn't quite format the cards as you would have liked to, you can provide a follow up prompt to edit all the cards at once. The editor sees **the entire history** of requests and generated highlights + cards, so the model does not regress to a poorer set of cards.
## Reasoning and Credits
You can see the reasoning of the models while you wait, and afterwards will be **shown how many credits have been consumed**.
# Highlights
Source: https://docs.janus.cards/workflow/notebook/highlights
## Overview
The "highlights" tab lets you see all saved highlights and flashcards, and allows you to edit, delete or generate more.
## Navigation
Using the up and down arrows, you can navigate through all saved highlights. The **Document Reader** will scroll to bring the highlight into view. Likewise, selecting a highlight in the Document Reader **will navigate to it in the highlights tab**.
### Seen and Unseen Cards
Since the **flashcard writer** and refiner can run in the background, the cards in a saved highlight might change since the last time you inspected it. **Unseen cards have a dashed green border** while seen cards have a regular muted border.
Editing the card, or navigating away from the highlight will **mark the card as seen**.
## Generating
You can call the **flashcard writer** on each of the saved highlights. See [here](/flashcards/algorithm) for more details on generating new/additional cards as well as tweaking cards in batch, and [Batch improvements](/workflow/notebook/generate#batch-improvements) to learn how the refiner works.
## Edit Commands
These are powerful custom commands that can be run on individual cards to transform them in a predictable way.
To select a command to run, click the **wand icon** and then select the command. The generator will then run and replace that card with one or more new cards.
### Defining New Commands
You can edit and create new commands by going into `Settings > Edit Commands`
We recommend being very descriptive in your prompts and using examples to get the best results.
## Editing
To manually edit a card, either click the **notepad icon** or the flashcard. This will move the card into **editing mode**.
You can change the content and type of card by formatting it according to the [formatting rules](/flashcards/format).
To exit the editing mode and save the card, click outside the editor. *The card will only be saved if the formatting was valid.*
### Accepting / Rejecting Cards
# Audio
Source: https://docs.janus.cards/workflow/upload/integrations/audio
### Selecting the Document
To select the the document, you can either drag and drop the file from your file explorer to the input area, or click the input area for the file explorer to pop up.
# PDF
Source: https://docs.janus.cards/workflow/upload/integrations/pdf
### Selecting the Pages
You can specify the pages to upload by:
* **Clicking the thumbnails**. Clicking one page, holding shift, and then clicking another page will select all pages from those two pages.
* **Entering the page ranges**. A comma separated list of pages (e.g. '3' or '10') and page ranges (e.g. '4-6' or '11-23')
* **Selecting the chapter**. If the PDF has an outline, which is usually the case for books, then you can select particular entries in the table of contents.
#### Deselecting Pages
You can then **deselect** the pages by either **clicking the thumbnails** or by **clicking the page-range pills** at the bottom.
#### Viewing Zoomed-In Thumbnails
You can also **view an enlarged preview of the page** by **hovering over the thumbnail.**
## Setting Up
In order to sync your Readwise library to Janus, you must copy your "access token" from your readwise account to your settings. You can your token [here](https://readwise.io/access_token). We only read content from your library and never modify it.
It may take a few minutes for your entire library to sync initially, but your most recent documents and highlights should be immediately available.
## Selecting What To Upload
You can only select one document at a time to upload by clicking the row in the Readwise document table.
### Search
Search queries scan across both the title and authors of your documents. Matches do not have to be precise to be shown.
### Selecting Chapters
If the original source contains chapter outlines, you can narrow what you make flashcards to a smaller chunk of material. This keeps notebooks small, AI costs lower and also allows for a simple version of **incremental reading** where you generate cards after each chapter you read.
At the moment, only **epubs** documents are supported and must come from their premium read-it-later app [Reader](https://readwise.io/read)
## Types of Documents
* **Full**: The original source text is available. The notebook will be comprised of this text, and any matching highlights.
* **Highlight Only**: The original source text was not available. The notebook contains all the highlights + notes as text, one after another.
# Text
Source: https://docs.janus.cards/workflow/upload/integrations/text
### Overview
You can upload a plain block of text or **markdown** for free. This is useful for creating cards from notes written in **Obsidian** or **Notion**.
#### Previewing Content
You can see how the document will be rendered by toggling the preview button.
# URL
Source: https://docs.janus.cards/workflow/upload/integrations/url
# YouTube
Source: https://docs.janus.cards/workflow/upload/integrations/youtube
# Overview
Source: https://docs.janus.cards/workflow/upload/overview