Cloze

by Vikki
5
4
3
2
1
Score: 52/100

Description

Category: Note Enhancements

The Cloze plugin for Obsidian enables you to create interactive clozes from highlighted, underlined, bolded texts, or any selected text in reading mode. With this plugin, you can easily review and recall important information by toggling the visibility of clozed areas. The plugin offers various features such as auto-conversion, custom cloze creation, cloze hints, fixed width options, and customizable editor menus. Additionally, you can customize the appearance of clozes with CSS variables. Overall, this plugin is designed to help you effectively review and retain information in your Obsidian notes.

Reviews

No reviews yet.

Stats

103
stars
16,518
downloads
7
forks
988
days
447
days
447
days
4
total PRs
0
open PRs
0
closed PRs
4
merged PRs
45
total issues
21
open issues
24
closed issues
21
commits

Latest Version

a year ago

Changelog

✨ Feats:

  • Hover the cloze to reveal. #36

🐛 Fix:

  • Clozes not clickable when note opened in a new window. #30

✨ 新功能:

  • 可以开启鼠标悬浮显示填空内容咯!#36

🐛 Fix:

  • new window 模式下打开时,cloze 失效的问题 #30

README file from

Github

Cloze - Obsidian Plugin

English | 简体中文

Inspired from anki cards, this simple plugin for Obsidian enables you to create a cloze from special text segments (including highlighted, underlined, bolded texts and so on), as well as any selected text in reading mode.

Update: FYI, I just found that there is a fantastic plugin called Spaced Repetition that works just as an Obsidian version Anki, which also supports Cloze Cards. On the other hand, the Cloze plugin serves as more of a helper for reviewing pages/articles.

Use

Basic

Auto Convert

By enabling the following settings, the corresponding text will also automatically be converted into clozes in reading mode.

Custom Cloze

Select any text and right-click to open the Editor Menu.

  • Create cloze: Quickly convert the selection into a cloze.
  • Create cloze with hint: You will be prompted to input a hint for the cloze first.
  • Remove cloze: Batch remove clozes from the selected text.

Afterwards in the reading mode, you can toggle the visibility of a cloze area by just clicking it. If you want to toggle the visibility of all clozes, click on the ribbon icon --- the small fish.

Other Features

Hover to reveal

By enabling "Hover to reveal" setting, when the mouse hovers over the cloze, the content will be revealed.

Cloze hint

Cloze hints are displayed as text within hidden cloze elements to serve as reminders.

There're mainly two options to give the cloze a hint by default.

  • For auto converted cloze:

    You have the option to configure the cloze to display the hint by default, either showing the first letters or a specific percentage of the cloze content.

  • For custom cloze:

    Create the cloze with "Create cloze with hint" or manually add data-cloze-hint="your hint" attribute to clozed <span></span>, e.g. <span class="cloze-span" data-cloze-hint="your hint"></span>

🔥 New feature: You can also right-click on the cloze to access a menu option bar, and then click on "More Hint" to dynamically reveal a portion of the cloze.

Fixed cloze width

You may enable 'Fixed cloze width' in the settings, which helps to ensure that the original text length is not revealed.

Activation

The plugin is active on all notes by default, but you can configure it to only activate on notes with a specific tag. Simply provide the desired tag in the 'Required tag' setting.

Customized Editor Menu

You can customize editor menu by enabling/disabling the following settings.

Customized styles

There are certain css variables that you may customize via css snippets.

Variable Description
--cloze-underline-color Cloze underline color
--cloze-underline-width Cloze underline width
--cloze-underline-style Cloze underline style
--cloze-hint-color Cloze hint color
--cloze-hint-font-size Cloze hint font size
--cloze-fixed-width Cloze fixed width (if fix-width enabled)

Here is an example.

body {
	--cloze-underline-color: pink;
	--cloze-underline-width: 2px;
	--cloze-underline-style: dashed;
	--cloze-hint-color: blue;
	--cloze-hint-font-size: 30px;
	--cloze-fixed-width: 10px;
}

Best practices

  • Enable Obsidian hotkey for "Add Cloze" could save you enough time for a cup of tea!
  • Cloze-mate: Spaced Repetition #review flag is a best mate for reviewing pages.

Q&As

What's the visibility of the clozes when the page is exported to PDF?

Sadly, it can only be "all visibile" or "all hidden" for the present.

In reading mode, click the ribbon fish first, make sure that the page state is what you expect, and then click "export to PDF".

Installation

This plugin is available in the Obsidian community plugin store. Look for Cloze.

To manually install, simply download the required files and put them in your plugins folder.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
aDHL
a year ago by tine-schreibt
The Dynamic Highlights Plugin, but with hotkeys, more options and sorting; works well with Highlightr.
Advanced Codeblock
4 years ago by Lijyze
An obsidian plugin that give additional features to code blocks.
Anki Helper
3 months ago by Dusk
Anki Sync
5 years ago by debanjandhar12
Obsidian plugin to make flashcards and sync them to Anki
Apple Books - Import Highlights
2 years ago by bandantonio
Import highlights and notes from your Apple Books to Obsidian
Apple Books Highlights
3 years ago by Atif Afzal
Sync your Apple Books highlights in Obsidian
Dynamic Highlights
4 years ago by nothingislost
An experimental Obsidian plugin that highlights all occurrences of the word under the cursor
Enhanced Annotations
2 years ago by ycnmhd
Extract Highlights
5 years ago by Alexis Rondeau
Manage your highlights in Obsidian by easily creating, removing and exporting them.
Flashcards
5 years ago by Alex Colucci
🎴 An Anki plugin for Obsidian.md
Floating Highlights
3 years ago by Karthik S Raju
This is a plugin for obsidian which highlights a block of text or a word as you scroll down while reading.
Focus and Highlight
4 years ago by BO YI TSAI
A plugin for obsidian to focus and highlight on a specific heading in Reading mode.
HamsterBase Official
3 years ago by HamsterBase
Highlight Helper
2 years ago by Chongmyung Park
Helper to collect highlight in Obsidian
Highlight Public Notes
5 years ago by dennis seidel
HiNote
a year ago by Kai
Add comments to highlighted notes, use AI for thinking, and flashcards for memory.
Hypothes.is
5 years ago by weichenw
An Obsidian.md plugin that syncs highlights from Hypothesis.
InfoFlow
a year ago by RockieStar Inc.
Obsidian plugin for InfoFlow.app - This plugin integrates InfoFlow with Obsidian, allowing you to sync your saved articles, web pages, notes, and highlights directly into your Obsidian vault.
Kindle Highlights
3 years ago by Hady Osman
Sync your Kindle notes and highlights directly into your Obsidian vault
Kindle Highlights Import
10 months ago by Leon Luttenberger
Plugin for Obsidian that allows users to import Kindle highlights into their Obsidian vault.
Kobo Highlights Importer
4 years ago by Flavio Cordari
KoReader Highlight Importer
a year ago by Tahsin Kocaman
Imports highlights and metadata from KoReader into Obsidian notes
MatchSyntax
a year ago by Eda
An Obsidian plugin that lets you write "regex-like" syntax to search the contents of a note, including part-of-speech tagging and (limited) fuzzy matching.
Multiplatform Highlights Importer
2 years ago by wwwkieran
Import and consolidate highlights from different reading sources. Supports reconciling books across reading sources.
Onyx Boox Annotation & Highlight Extractor
4 years ago by Akos Balasko
This tool extracts the highlights and the annotations from OnyxBoox Reading Notes txt files, and converts them to linked zettelkasten literature and permanent notes
PDF Highlights
5 years ago by Alexis Rondeau
Extract highlights, underlines and annotations from your PDFs into Obsidian
Pocketbook Cloud Highlight Importer
3 years ago by Lena Brüder
Imports highlights and notes from books stored in the pocketbook cloud to your obsidian vault
Raindrop Highlights
4 years ago by kaiiiz
An Obsidian.md plugin that syncs highlights from Raindrop.
Readavocado Sync
4 years ago by Cyrus Zhang
Readavocado obsidian plugin to sync your favorite highlights.
Readwise Community
5 years ago by renehernandez
Sync Readwise highlights into your obsidian vault
Sidebar Highlights
10 months ago by trevware
Simple Mention
4 years ago by der-tobi
Obsidian plugin for mentioning people
TODO Highlighter
a year ago by Nuraly Dyussenov
Obsidian Plugin that formats the exact string TODO, so it can be easily seen in your notes.
TreeFocus
3 years ago by iOSonntag
Obsidian plugin: Highlight, dim & style your files & folders in the file explorer (navigation) based on predefined or custom rules.
Underline
5 years ago by Benature
Add underline(`<u>xxx</u>`) with shortcut, and `<center>xxx</center>`, `[[#xxx]]`, `[[#^xxx]]`
Unearthed (Kindle Sync)
a year ago by CheersCal
Vim Yank Highlight
2 years ago by Aleksey Rowan
Highlight yanked text in Vim mode. Enjoy that subtle animation you've missed so much.
Vocabulary Highlighter
2 years ago by eatgrass
Highlight English words according to the frequency with Obsidian
WuCai highlights Official
3 years ago by 希果壳五彩
WuCai highlights Official, for Sync highlights into your obsidian notes
Yanki
2 years ago by Eric Mika
An Obsidian plugin that syncs flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.