Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreoliwa/logseq-doctor
Heal your Markdown files: convert to outline, list tasks and more tools to come
https://github.com/andreoliwa/logseq-doctor
knowledge-base knowledge-graph logseq logseq-plugin markdown markdown-format markdown-formatter markdown-formatting python python3
Last synced: 11 days ago
JSON representation
Heal your Markdown files: convert to outline, list tasks and more tools to come
- Host: GitHub
- URL: https://github.com/andreoliwa/logseq-doctor
- Owner: andreoliwa
- License: mit
- Created: 2022-03-20T11:02:51.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-18T14:41:55.000Z (6 months ago)
- Last Synced: 2024-05-21T06:14:05.235Z (6 months ago)
- Topics: knowledge-base, knowledge-graph, logseq, logseq-plugin, markdown, markdown-format, markdown-formatter, markdown-formatting, python, python3
- Language: Python
- Homepage:
- Size: 423 KB
- Stars: 41
- Watchers: 3
- Forks: 4
- Open Issues: 22
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.rst
- Funding: .github/FUNDING.yml
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
- awesome-logseq - logseq-doctor - Heal your Markdown files. CLI tool to convert to outline, list tasks, and more tools to come (💡 Workflows and Innovations)
README
========
Overview
========.. start-badges
.. list-table::
:stub-columns: 1* - docs
- |docs|
* - tests
- | |github-actions|
| |codecov|
* - package
- | |version| |wheel| |supported-versions| |supported-implementations|
| |commits-since|
.. |docs| image:: https://readthedocs.org/projects/logseq-doctor/badge/?style=flat
:target: https://logseq-doctor.readthedocs.io/
:alt: Documentation Status.. |github-actions| image:: https://github.com/andreoliwa/logseq-doctor/actions/workflows/github-actions.yml/badge.svg
:alt: GitHub Actions Build Status
:target: https://github.com/andreoliwa/logseq-doctor/actions.. |codecov| image:: https://codecov.io/gh/andreoliwa/logseq-doctor/branch/master/graphs/badge.svg?branch=master
:alt: Coverage Status
:target: https://codecov.io/github/andreoliwa/logseq-doctor.. |version| image:: https://img.shields.io/pypi/v/logseq-doctor.svg
:alt: PyPI Package latest release
:target: https://pypi.org/project/logseq-doctor.. |wheel| image:: https://img.shields.io/pypi/wheel/logseq-doctor.svg
:alt: PyPI Wheel
:target: https://pypi.org/project/logseq-doctor.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/logseq-doctor.svg
:alt: Supported versions
:target: https://pypi.org/project/logseq-doctor.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/logseq-doctor.svg
:alt: Supported implementations
:target: https://pypi.org/project/logseq-doctor.. |commits-since| image:: https://img.shields.io/github/commits-since/andreoliwa/logseq-doctor/v0.3.0.svg
:alt: Commits since latest release
:target: https://github.com/andreoliwa/logseq-doctor/compare/v0.3.0...master.. end-badges
Logseq Doctor: heal your flat old Markdown files before importing them.
**Note:** *this project is still alpha, so it's a bit rough on the edges (documentation and feature-wise).*
Installation
============The recommended way is to install ``logseq-doctor`` globally with `pipx `_::
pipx install logseq-doctor
You can also install the development version with::
pipx install git+https://github.com/andreoliwa/logseq-doctor
You will then have the ``lsd`` command available globally in your system.
Quick start
===========Type ``lsd`` without arguments to check the current commands and options::
Usage: lsd [OPTIONS] COMMAND [ARGS]...
Logseq Doctor: heal your flat old Markdown files before importing them.
â•â”€ Options ────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy │
│ it or customize the installation. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
â•â”€ Commands ───────────────────────────────────────────────────────────────────╮
│ outline Convert flat Markdown to outline. │
│ tasks List tasks in Logseq. │
│ tidy-up Tidy up your Markdown files by removing empty bullets in any block. │
╰──────────────────────────────────────────────────────────────────────────────╯Development
===========To run all the tests run::
tox
Note, to combine the coverage data from all the tox environments run:
.. list-table::
:widths: 10 90
:stub-columns: 1- - Windows
- ::set PYTEST_ADDOPTS=--cov-append
tox- - Other
- ::PYTEST_ADDOPTS=--cov-append tox