Skip to content

Add a shortcut for markitdown #1681

@SELFEMO

Description

@SELFEMO

Once we have set up the markitdown environment, we can quickly start it by defining a markitdown-init function in the .zshrc or .bashrc file.

# ~/.zshrc / ~/.bashrc
# markitdown (Microsoft) Settings
markitdown-init() {
    if conda info --envs | grep -q "markitdown"; then
        conda activate markitdown
	markitdown --version
    else
        echo "The Conda environment 'markitdown' does not exist. Please build 'https://github.com/microsoft/markitdown.git' first."
    fi
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions