# Logseq link format support

## Description

Support Logseq-specific link syntax.

## Logseq Differences

1. **Alias syntax**: `[Display]([[PageTitle]])` instead of `[[PageTitle|Display]]`
2. **Block references**: `((block-id))` - links to specific blocks
3. **Page embedding**: `{{embed [[PageTitle]]}}`
4. **Block embedding**: `{{embed ((block-id))}}`

## Scope

- [ ] Parse `[text]([[target]])` as wiki link with display text
- [ ] Optionally parse block refs (may need block-level indexing)
- [ ] Handle embeds as links (without embed semantics)

## Notes

Logseq files are markdown-compatible, basic `[[Note]]` links already work.
This is for full Logseq vault compatibility.

## Acceptance

- [ ] Implementation complete
- [ ] Tests passing
- [ ] Documentation updated

## Done summary

Implemented Logseq link compatibility in parser and ingestion: [text]([[target]]) now emits wiki links with display text, and block embeds {{embed ((block-id))}} are indexed as wiki-style links. Added unit/integration tests and updated docs to document Logseq-compatible link forms.

## Evidence

- Commits:
- Tests: bun run lint:check, bun test, bun run eval, bun scripts/docs-verify.ts, bun test test/core/links.test.ts test/ingestion/sync-links.test.ts
- PRs:
