Skip to main content

markitdown-cosense

A MarkItDown plugin that converts Cosense notation into Markdown. Conversion runs in a Rust core (cosense-core) shared with a browser wasm module.

Features

  • Headings: [* Heading] → # Heading
  • Text styles: [/ italic], [[bold]], [*/ strong italic], [*- bold strike], [/- italic strike], [- strikethrough]
  • Lists: indented bullets using spaces, tabs, or full-width spaces
  • Code blocks: code:language (indented body) and fenced sections
  • Tables: table:Title directives with tab-separated cells
  • Links & media: [Label https://example], [img https://.../image.png], [YouTube …], [Twitter …]
  • Math: code:tex blocks → $$ … $$
  • Tags & page links: [tag] → #tag

Installation

pip install markitdown markitdown-cosense

Which files it converts

Files with a .txt extension (or a stream with no extension) whose first 4 KiB contain Cosense notation. Other formats such as .md or .py are left to MarkItDown's own converters. Input is read as UTF-8.

CLI

markitdown --use-plugins note.txt > note.md

When reading from stdin, pass the extension hint:

markitdown --use-plugins -x txt < note.txt > note.md

Python

from markitdown import MarkItDown, StreamInfo
from markitdown_cosense import register_converters

md = MarkItDown()
register_converters(md)

with open("note.txt", "rb") as fh:
    result = md.convert_stream(fh, stream_info=StreamInfo(extension=".txt"))

print(result.text_content)

License

MIT © kazu728

Metadata

Release files for markitdown-cosense 0.4.0

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

Source distribution (sdist)

Source distribution for markitdown-cosense 0.4.0
File Size Uploaded Provenance Actions
markitdown_cosense-0.4.0.tar.gz 71.0 kB With provenance Details for markitdown_cosense-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for markitdown-cosense 0.4.0
File Actions
markitdown_cosense-0.4.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for markitdown_cosense-0.4.0-cp310-abi3-win_amd64.whl
markitdown_cosense-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for markitdown_cosense-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl
markitdown_cosense-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for markitdown_cosense-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl
markitdown_cosense-0.4.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for markitdown_cosense-0.4.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
markitdown_cosense-0.4.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for markitdown_cosense-0.4.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
markitdown_cosense-0.4.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for markitdown_cosense-0.4.0-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 1.8 MB

Release files / markitdown_cosense-0.4.0.tar.gz

Download URL markitdown_cosense-0.4.0.tar.gz
Size 71.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c61c4acbab913e7f06c518cb0af0f17f372e5ed50b06e8c0b70b5534d597dc4b
BLAKE2b-256 checksum
How to use checksums
7354f0abac92ec135a6a0f4cda6de26bc32844c0bea83a93ff07d61b5f62ddbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / markitdown_cosense-0.4.0-cp310-abi3-win_amd64.whl

Download URL markitdown_cosense-0.4.0-cp310-abi3-win_amd64.whl
Size 122.9 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
385b2b0ff4b0aef9d98d0135498f1d615cc30451cc829d582fba86760fc84fb8
BLAKE2b-256 checksum
How to use checksums
39be3201adfbaf1d1c8922af168976a8ed5b85619e07bdace994b65289e6302d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / markitdown_cosense-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL markitdown_cosense-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 460.3 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
866d0ff57d13533f2e2ff52ef5bf5f6541e7540f54a5520e17dbf95ba0fd0171
BLAKE2b-256 checksum
How to use checksums
c10c9416413157df7496d2107d10e56d9608a1e8f3ba81ab48bcc70b95069912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / markitdown_cosense-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL markitdown_cosense-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 428.8 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
d0ed74a6a97b96cbaa0ec3351ffb6370fd0f13e8f471cb1df1dc1712005e3a12
BLAKE2b-256 checksum
How to use checksums
f90c65ee8b1efb92c7acd56b43042424c4641f428422651012e50229ee196bcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / markitdown_cosense-0.4.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL markitdown_cosense-0.4.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 260.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
ee0e61281fb1c054375b12758f64f339d5a240f5f5ac8c2db5388eea509d30db
BLAKE2b-256 checksum
How to use checksums
367194405350388bccdac6fc93296d8eae5949b029961c8c2f5246857fba28e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / markitdown_cosense-0.4.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL markitdown_cosense-0.4.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 251.7 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
ee90d407dcd633d2a652e4b73afbe8e5c749bb589bc88a5aae3f3e7163ab901d
BLAKE2b-256 checksum
How to use checksums
e5cf4ad896315e9502d075142fe5a54775ce245f3828105e3e9e9fa7ca7d8ff1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / markitdown_cosense-0.4.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL markitdown_cosense-0.4.0-cp310-abi3-macosx_11_0_arm64.whl
Size 224.7 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
714f2883e65c2dd583815db739d6eaec04f8db6ccadf85ba7c1f76b41a395a04
BLAKE2b-256 checksum
How to use checksums
cc56673f408359d06519a3a61ed9b02f1b0756080a93e2f8d1c0e9e005195733
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for markitdown-cosense 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for markitdown_cosense-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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