Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Blue Star

lio5nlio5n860 downloads

Generate Anki flashcards in multiple ways.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates18

Blue Star is an Obsidian plugin that simplifies the process of creating Anki flashcards from your notes. With a variety of built-in parsing modes and customization options, Blue Star empowers you to efficiently turn your knowledge into memorable study material.

Features

  • Two Ways to Create Cards:
    • Create cards from current file using the star (⭐) icon or command
    • Create cards from a specified directory using the moon-star (🌙) icon or command
  • Multiple Parsing Modes: Choose from pre-defined modes based on headings, sections, or custom delimiters. Craft powerful flashcards using regular expressions for advanced control.
  • Directory and Tag Filtering: Generate flashcards from specific directories or files tagged with particular keywords, enabling focused learning.
  • Granular Control: Decide whether to add new cards only or update existing ones in Anki. Configure default decks, models, and tags for seamless workflow integration.
  • Document-Level Settings: Fine-tune card creation behavior within individual notes. Override default settings for ultimate flexibility.
  • Intuitive Setup: Clear instructions guide you through the initial AnkiConnect configuration.

Installation

  1. In Obsidian, go to Settings -> Community plugins.
  2. Click Browse and search for "Blue Star".
  3. Click Install and then Enable to activate the plugin.

Getting Started

1. Install AnkiConnect

Blue Star requires the AnkiConnect plugin for communication with Anki.

  • Search for AnkiConnect (code: 2055492159) in Anki's Add-ons menu.
  • After installation, restart Anki.
  • Optional but Recommended: Install a Markdown plugin in Anki (e.g., "Markdown and KaTeX", code: 1786114227) for enhanced card display.

 If the connection fails, check the AnkiConnect configuration as follows:

{
    "apiKey": null,
    "apiLogPath": null,
    "ignoreOriginList": [],
    "webBindAddress": "127.0.0.1",
    "webBindPort": 8765,
    "webCorsOrigin": "http://localhost",
    "webCorsOriginList": [
        "http://localhost",
        "app://obsidian.md"
    ]
}

2. Configure Blue Star

  • Access Blue Star's settings in Obsidian's plugin settings.
  • Configure your preferred parsing mode, default Anki settings, and directory settings.
  • Set up directory path and optional file tags for batch processing.

3. Generate Flashcards

You have two ways to generate flashcards:

  1. From Current File:

    • Click the star (⭐) icon in the ribbon
    • Or use the command Blue Star: Create Anki cards from current file
  2. From Directory:

    • Click the moon-star (🌙) icon in the ribbon
    • Or use the command Blue Star: Create Anki cards from directory
    • Make sure to configure the directory path in settings

Monitor the progress notifications in Obsidian's status bar.

Parsing Modes

Blue Star offers the following parsing modes:

  • Section :: Subsection: Creates two-field cards from headings and their immediate subheadings.
  • Heading :: Paragraph: Generates two-field cards from headings and their corresponding content blocks.
  • Multi-Subsection: Produces multi-field cards by extracting content from all subheadings under a main heading.
  • Multi-Subparagraph: Creates multi-field cards by dividing content under a heading into separate fields based on paragraphs.
  • Regex: Empowers you to define custom card and field extraction rules using regular expressions.
  • Custom Delimiter: Allows you to specify unique start, end, and field separator strings for card generation.

Below is an example text demonstrating the built-in generation modes (The setting for heading level is 2):

# Example

## export and import
Named Export and Import

### export
- Named Export
```js
export function foo()...
```

### import
- Named Import
```js
import {foo} from './example'
```

Section :: Subsection

Generates cards with 2 fields based on heading and subheading blocks. Example card:

Front:

Description

Back:

Description

Heading :: Paragraph

Generates cards with 2 fields based on heading and the content block under the heading. Example card:

Front:

Description

Back:

Description

Multi-Subsection

Generates cards with multiple fields based on each subheading block under a heading. Example card:

Front:

Description

Back:

Description

Multi-Subparagraph

Generates cards with multiple fields based on each content block under a heading. Example card:

Front:

Description

Back:

Description

Custom delimiter

Generates cards based on custom start, field separator, and end delimiters.

Note:

# Example

<!-- card start -->
Custom Delimiter Card Front
<!-- field separator -->
Custom Delimiter Card Back
<!-- card end -->

Front:

Description

Back:

Description

Single delimiter

Generates cards based on custom start, field separator, and end delimiters.

Note:

# Example

Custom Delimiter Card Front
<!-- field separator -->
Custom Delimiter Card Back

Front:

Description

Back:

Description

Regex

Generates cards based on regular expressions. If you create a useful regex, please share it on the plugin's GitHub page. Many thanks!

If you are not familiar with writing regular expressions (don't worry, neither am I), the Obsidian_2_Anki plugin provides some useful regex patterns. You can find them on its introduction page, which also includes usage examples. Many thanks to Obsidian_2_Anki.

When using regex patterns from Obsidian_2_Anki with this plugin, set the regex flags to gm. Obsidian_2_Anki regex introduction page: Regex.

Document-Level Configuration

You can configure Anki card generation for a specific document. Document-level settings override the default settings. You don't need to configure all options; only the ones specified in the document block will override the defaults.

Customize card creation for individual notes using code blocks with the following format:

```anki
deck: YourDeckName
model: YourModelName
tag: YourTagName
parser: section-subsection 
```

or

```
anki
deck: YourDeckName
model: YourModelName
tag: YourTagName
parser: section-subsection 
```

Available options:

  • deck / anki-deck
  • model / anki-model / note-type / anki-note-type
  • tag / anki-tag / card-tag / anki-card-tag
  • parser / parser-mode / match / match-mode (Options: section-subsection, heading-paragraph, multi-subsection, multi-subparagraph, regex, custom-delimiter, single-delimiter)
  • heading / heading-level
  • regex
  • flags / regex-flag / flag / regex-flags
  • card-start
  • field-separator / field-split / field
  • card-end
  • update / upsert (Values: true or false)
  • single / single-field (Values: true or false)
  • html / html-break / html-line-break (Values: true or false)
  • ignore (Values: true or false)

Deck Tip

You can specify Anki's multi-level decks using ::, for example: Deck::SubDeck.

Support and Feedback

Encountered an issue or have a suggestion? Please open an issue on the GitHub repository.

70%
HealthGood
ReviewCaution
About
Create Anki flashcards from Obsidian notes using built-in parsing modes, headings, sections, custom delimiters, or regex. Filter sources by directory or tags, choose to add or update cards, and push results to Anki via AnkiConnect.
FlashcardsIntegrations
Details
Current version
1.2.5
Last updated
Last year
Created
2 years ago
Updates
18 releases
Downloads
860
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
lio5nlio5n
github.com/Lio5n
GitHublio5n
  1. Community
  2. Plugins
  3. Flashcards
  4. Blue Star

Related plugins

Yanki

Sync flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.

Local REST API & MCP Server

Unlock your automation needs by interacting with your notes over a secure REST API.

BRAT

Easily install a beta version of a plugin for testing.

Spaced Repetition

Fight the forgetting curve by reviewing flashcards & entire notes.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Readwise Official

Sync highlights from Readwise to your vault.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.