Skip to main content

Extending Markdown further by adding a few more useful notations.

Project description

Marquedown

Extending Markdown further by adding a few more useful notations. It can be used in place of markdown as it also uses and applies it.

Examples

Blockquote with citation

This is currently limited to the top scope with no indentation. Surrounding dotted lines are optional.

......................................................
> You have enemies? Good. That means you've stood up
> for something, sometime in your life.
-- Winston Churchill
''''''''''''''''''''''''''''''''''''''''''''''''''''''
<blockquote>
    <p>
        You have enemies? Good. That means you've stood up
        for something, sometime in your life.
    </p>
    <cite>Winston Churchill</cite>
</blockquote>

Embed video

YouTube

![dimweb](https://youtu.be/VmAEkV5AYSQ "An embedded YouTube video")
<iframe
    src="https://www.youtube.com/embed/VmAEkV5AYSQ"
    title="An embedded YouTube video" frameborder="0"
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
    allowfullscreen>
</iframe>

Commands

render: Render documents

You can render an entire directory and its subdirectories of Markdown or Marquedown documents. This can be used to automate rendering pages for your website.

Do python -m marquedown render --help for list of options.

Example

For a few of my websites hosted on GitLab, I have it set up to run this on push:

# Render document
python -m marquedown render -i ./md -o ./public -t ./templates/page.html

# This is for the GitLab Pages publication
mkdir .public
cp -r public .public
mv .public public  

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

marquedown-0.5.2.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marquedown-0.5.2-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file marquedown-0.5.2.tar.gz.

File metadata

  • Download URL: marquedown-0.5.2.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.10.105-1-MANJARO

File hashes

Hashes for marquedown-0.5.2.tar.gz
Algorithm Hash digest
SHA256 fd5afaa86849066823312a22e9b580d8596f40d496a95d1b68348296ed955f55
MD5 27c01344645cec0f464e0c0964360e60
BLAKE2b-256 771e014253a379a43ded79e796cf2e732615b7df1a62a0e5a23da2e3f3873c78

See more details on using hashes here.

File details

Details for the file marquedown-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: marquedown-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.10.105-1-MANJARO

File hashes

Hashes for marquedown-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1761cf460512e0e5f1597bf2f827c8d65ade2c74abd84e57eaf5af4ae4bea8f
MD5 359836e1fb5643e8df42b0d99bf74ce9
BLAKE2b-256 b2a5595b8ed9bfee7ee8ed91649aa19800e7031a51930eb03767bea2f8a6f61b

See more details on using hashes here.

Supported by

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