Skip to content

Refactor matching logic to use markdown AST #25

@A

Description

@A

Problem

Current matchers are implemented as regexps and inlined into each entity class. Matching happens against the markdown content, and doesn't take AST into account. It creates a lot of edge cases and additional complexity to handle it.

Definitiion of Done

  • matching of obsidian entities and markdown links happens on the AST level and creates AST-notes.

Links

  • Mistune is a fast yet powerful Python Markdown parser with renderers and plugins.
  • Mistletoe is a fast, extensible and spec-compliant Markdown parser in pure Python.
  • Marko is a markdown parser with high extensibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions