Heal your Markdown files: convert to outline, list tasks and more tools to come
107
stars
832
commits
Go
primary language
Sep 10, 2026
updated
Logseq Doctor: heal your flat old Markdown files before importing them to Logseq.
Logseq Doctor is a command-line tool with commands to manipulate your Logseq Markdown files. It provides utilities to:
backlog): Aggregate tasks from multiple pages into unified backlogs with smart categorization, overdue detection, and focus page generationcontent): Append raw Markdown content to Logseq pages or journalsmd): Parse and add Markdown content using DOM manipulation with support for parent blocks and journal targetingtask add): Add new tasks or update existing ones with key-based search, preserving children and propertiestidy-up): Clean up and standardize your Markdown filesoutline): Convert flat Markdown files to Logseq's outline formattasks): List and manage tasks in your Logseq graphTo install the most updated version:
go install github.com/andreoliwa/logseq-doctor/cmd/lqd@latest
Confirm if it's in your path:
type -p lqd
# or
which lqd
# or
ls -l $(go env GOPATH)/bin/lqd
On macOS and Linux, you can also install it with Homebrew:
brew install andreoliwa/formulae/logseq-doctor
To build and install the lqd binary from source, clone the repository and run:
make install
Type lqd without arguments to check the current commands and options:
Logseq Doctor heals your Markdown files for Logseq.
Convert flat Markdown to Logseq outline, clean up Markdown,
prevent invalid content, and more stuff to come.
Usage:
lqd [command]
Available Commands:
backlog Aggregate tasks from multiple pages into a backlog
completion Generate the autocompletion script for the specified shell
content Append raw Markdown content to Logseq
dashboard Start PocketBase and the backlog web UI
groom Interactively review and groom stale tasks
help Help about any command
md Add Markdown content to Logseq using the DOM
outline Convert flat Markdown to a Logseq bullet outline
sync Sync Logseq tasks to PocketBase
task Manage tasks in Logseq
tidy-up Tidy up your Markdown files.
Flags:
-h, --help help for lqd
Use "lqd [command] --help" for more information about a command.
To set up local development:
make setup
Run this to see help on all available targets:
make
To run all the tests run:
make test
568 commits
251 commits
6 commits
5 commits
Go
80.5%
HTML
17.0%
CSS
2.1%
Heal your Markdown files: convert to outline, list tasks and more tools to come
107
stars
832
commits
Go
primary language
Sep 10, 2026
updated
Logseq Doctor: heal your flat old Markdown files before importing them to Logseq.
Logseq Doctor is a command-line tool with commands to manipulate your Logseq Markdown files. It provides utilities to:
backlog): Aggregate tasks from multiple pages into unified backlogs with smart categorization, overdue detection, and focus page generationcontent): Append raw Markdown content to Logseq pages or journalsmd): Parse and add Markdown content using DOM manipulation with support for parent blocks and journal targetingtask add): Add new tasks or update existing ones with key-based search, preserving children and propertiestidy-up): Clean up and standardize your Markdown filesoutline): Convert flat Markdown files to Logseq's outline formattasks): List and manage tasks in your Logseq graphTo install the most updated version:
go install github.com/andreoliwa/logseq-doctor/cmd/lqd@latest
Confirm if it's in your path:
type -p lqd
# or
which lqd
# or
ls -l $(go env GOPATH)/bin/lqd
On macOS and Linux, you can also install it with Homebrew:
brew install andreoliwa/formulae/logseq-doctor
To build and install the lqd binary from source, clone the repository and run:
make install
Type lqd without arguments to check the current commands and options:
Logseq Doctor heals your Markdown files for Logseq.
Convert flat Markdown to Logseq outline, clean up Markdown,
prevent invalid content, and more stuff to come.
Usage:
lqd [command]
Available Commands:
backlog Aggregate tasks from multiple pages into a backlog
completion Generate the autocompletion script for the specified shell
content Append raw Markdown content to Logseq
dashboard Start PocketBase and the backlog web UI
groom Interactively review and groom stale tasks
help Help about any command
md Add Markdown content to Logseq using the DOM
outline Convert flat Markdown to a Logseq bullet outline
sync Sync Logseq tasks to PocketBase
task Manage tasks in Logseq
tidy-up Tidy up your Markdown files.
Flags:
-h, --help help for lqd
Use "lqd [command] --help" for more information about a command.
To set up local development:
make setup
Run this to see help on all available targets:
make
To run all the tests run:
make test
568 commits
251 commits
6 commits
5 commits
Go
80.5%
HTML
17.0%
CSS
2.1%