Co.Markdown

Creating Co.Markdown for one place to record something quickly, with the ability to share simply.

fish shell to share text

function md-share -a filepath
    set -l name (uuidgen)
    set -l user share
    curl -X POST "https://md.drink.cafe/md/$user/$name" --data-binary "@$filepath"
    echo "https://md.drink.cafe/md/$user/$name.md"
end

Share from pastboard:

pbpaste | md-share /dev/stdin