Skip to main content

Extended Markdown syntax for scientific writing

Project description

MdSci: Extended Markdown format for scientific writing

MdSci, or Markdown Scientific, is an extended Markdown syntax primarily designed for scientific writing.

Features

MdSci is build on the top of the document converting tool Pandoc, so all Markdown syntax supported by Pandoc can also be used in MdSci.

Apart from that, MdSci mainly include a style of new syntax starting with double-semicolons, like ;;foo{arg, key1=value1}. See the documentation for more details.

Installation Guide

Install the mdsci package on your Python.

pip install -U mdsci

You can easily call mdsci from the command line:

mdsci input.md

Note that the above command will automatically copy the CSS file from the package into the current folder. In this example, it will be named as input-mdsci.css.

Developer Guide

A script file make.py is provided for easier development. Remember to check the followings before using the script:

  • Build: Edit the version (e.g., 1.0.0rc1) in pyproject.toml.
  • Upload: Prepare a .pypirc file with __token__ as username and API token as password.

To build, update and test the developing version:

# In the venv environment
python make.py --build
python make.py --update  # Choose local wheel
mdsci test.md

Then we can use --testpypi or --pypi command to upload. Check --help of make.py for more details.

License

MIT

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

mdsci-0.0.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

mdsci-0.0.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file mdsci-0.0.2.tar.gz.

File metadata

  • Download URL: mdsci-0.0.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for mdsci-0.0.2.tar.gz
Algorithm Hash digest
SHA256 675559b623801eacd9eefe3a5b34b1537e4d044651488a948109488cb61813dd
MD5 268edddeb73c79d3942b067b015eef72
BLAKE2b-256 8dc5f2956853ca80f8222440d3060e844bc992029d2d2002abce1c682bbe9771

See more details on using hashes here.

File details

Details for the file mdsci-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mdsci-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for mdsci-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 969c47bbbc6ee5855abb9504d8192bdc095202f53981275160a2e2518ced17cc
MD5 f230111bcf1a0fe8abc5d0d8d764edec
BLAKE2b-256 4ec5664ae3276d8296a7cbb6970a3be339fa055b8808b5b330aacbeaedca1e03

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