Skip to main content

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

Metadata

Release files for mdsci 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdsci 0.0.2
File Size Uploaded
mdsci-0.0.2.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mdsci 0.0.2
File Interpreter ABI Platform
mdsci-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / mdsci-0.0.2.tar.gz

Download URL mdsci-0.0.2.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
675559b623801eacd9eefe3a5b34b1537e4d044651488a948109488cb61813dd
BLAKE2b-256 checksum
How to use checksums
8dc5f2956853ca80f8222440d3060e844bc992029d2d2002abce1c682bbe9771
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / mdsci-0.0.2-py3-none-any.whl

Download URL mdsci-0.0.2-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
969c47bbbc6ee5855abb9504d8192bdc095202f53981275160a2e2518ced17cc
BLAKE2b-256 checksum
How to use checksums
4ec5664ae3276d8296a7cbb6970a3be339fa055b8808b5b330aacbeaedca1e03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page