Skip to main content

Markdown URL tag generator

Project description

mdut

mdut (pronounced "em-doot") is a tool for generating Markdown URL tags. It ships as both a standalone command-line program and Python library.

GitHub Actions PyPI version Unreleased changes License: MIT

Examples

Command-line program:

# reference style is default
$ mdut https://example.com
Copied to clipboard:
[TODO]: https://example.com "Example Domain"

$ mdut -s inline https://example.com
Copied to clipboard:
[TODO](https://example.com "Example Domain")

$ mdut -s slack https://example.com
Copied to clipboard:
[TODO](https://example.com)

Python library:

>>> import mdut
>>> mdut.reference("https://example.com")
'[TODO]: https://example.com "Example Domain"'
>>> mdut.inline("https://example.com")
'[TODO](https://example.com "Example Domain")'
>>> mdut.slack("https://example.com")
'[TODO](https://example.com)'

Installation

If you plan on using mdut on the command-line, you're probably best off installing it via pipx, like so:

pipx install mdut

However, if you plan on using mdut as a library in your project, you should probably install it the same way as your other dependencies, for example via pip, Poetry, Pipenv, etc.

# pip
pip install mdut

# Poetry
poetry add mdut

# Pipenv
pipenv install mdut

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mdut-22.6.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

mdut-22.6.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file mdut-22.6.0.tar.gz.

File metadata

  • Download URL: mdut-22.6.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Darwin/21.4.0

File hashes

Hashes for mdut-22.6.0.tar.gz
Algorithm Hash digest
SHA256 ae57bc2ad48af6a8716d8c7759aa6c210fb1c779013ef4506a0dcc2708a06eac
MD5 98d17797748972d5a3e3dac10a103844
BLAKE2b-256 1bbd125f6a7ac7aa35afcaba5a2587eaf01e52b8884e0b188bdcde135df2c814

See more details on using hashes here.

File details

Details for the file mdut-22.6.0-py3-none-any.whl.

File metadata

  • Download URL: mdut-22.6.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Darwin/21.4.0

File hashes

Hashes for mdut-22.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4729f8cbcd0c6c0db09462bdf900238d0210dabe4f5293bb3b509ce81e2b9cab
MD5 8965a9906c2004c092b22dfa21e528d9
BLAKE2b-256 e6b760f81568f0bcc5d14d1169dd6ca5d01e31e2d4432bf6e1fe25a1dc474bcf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page