Skip to content

Fix/bear import#511

Open
randy wants to merge 20 commits intoobsidianmd:masterfrom
randy:fix/bear-import
Open

Fix/bear import#511
randy wants to merge 20 commits intoobsidianmd:masterfrom
randy:fix/bear-import

Conversation

@randy
Copy link
Copy Markdown

@randy randy commented Mar 2, 2026

This is intended to fix several issues I was having with the Bear importer.

  • list indentation, specifically if the list contained a code block
  • tag processing for multi-word tags in Bear
  • tag processing for tag-like text in inline code
  • tag processing for tag-like text in code blocks
  • tag processing for hex color text (e.g., #00ff00)
  • other edge-case tag processing issues that may or may not have been a result of my changes
    • I ended up typing out many "possible" tags in Obsidian, noting whether they were considered tags internally or not, and then putting that logic into the various regex and processing steps.

I tested these changes by running my Bear export of +1600 notes through the changes over and over. My settings for the import were to to flatten nested tags and not to store note identifiers in front matter. The "flatten" option may have side-effects, but from what I understand, as Bear user, I would not expect that sort of result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant