mirror of
https://github.com/Ascyii/typstar.git
synced 2026-01-01 05:24:24 -05:00
fix(anki): allow spaces in deck name
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "pdm.backend"
|
||||
|
||||
[project]
|
||||
name = "typstar"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
description = "Neovim plugin for efficient note taking in Typst"
|
||||
authors = [
|
||||
{ name = "arne314" }
|
||||
|
||||
@@ -35,7 +35,7 @@ ts_flashcard_query = """
|
||||
ts_deck_query = """
|
||||
((comment) @deck)
|
||||
"""
|
||||
deck_regex = re.compile(r"\W+ANKI:\s*(\S*)")
|
||||
deck_regex = re.compile(r"\W+ANKI:\s*([\S ]*)")
|
||||
|
||||
|
||||
class FlashcardParser:
|
||||
|
||||
Reference in New Issue
Block a user