A markitdown plugin for converting Cosense notation to Markdown
Project description
markitdown-cosense
A MarkItDown plugin that converts Cosense notation into Markdown.
Features
- Headings:
[* Heading]→# Heading - Text styles:
[/ italic],[** bold],[*/ strong italic],[- strikethrough] - Lists: indented bullets using spaces, tabs, or full-width spaces
- Code blocks:
code:languageand fencedsections - Tables:
table:Titledirectives with indented rows - Links & media:
[Label https://example],[img https://.../image.png] - Math:
code:texblocks and lightweight inline detection - Tags:
[tag]→<!-- tag: tag -->
Installation
pip install markitdown markitdown-cosense
CLI
markitdown --use-plugins 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file markitdown_cosense-0.2.0.tar.gz.
File metadata
- Download URL: markitdown_cosense-0.2.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6371c583ea78c33be454b0ad1a4bb7d36b64460012abaf2534c485e20f1c88b
|
|
| MD5 |
28f08722adfcd3f2ef24a47967a7b7a8
|
|
| BLAKE2b-256 |
cffd5e33253d4b6928b6a2097db342d5b6a6b90895e125e1dda2583325917e16
|
Provenance
The following attestation bundles were made for markitdown_cosense-0.2.0.tar.gz:
Publisher:
publish.yml on kazu728/markitdown-cosense
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
markitdown_cosense-0.2.0.tar.gz -
Subject digest:
c6371c583ea78c33be454b0ad1a4bb7d36b64460012abaf2534c485e20f1c88b - Sigstore transparency entry: 583788198
- Sigstore integration time:
-
Permalink:
kazu728/markitdown-cosense@7bce8256f1a87151db6bbc80eaa44e1173c46d6e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/kazu728
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7bce8256f1a87151db6bbc80eaa44e1173c46d6e -
Trigger Event:
release
-
Statement type:
File details
Details for the file markitdown_cosense-0.2.0-py3-none-any.whl.
File metadata
- Download URL: markitdown_cosense-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9245cbf599edcfad69f4cac9402c4e6aac4835c9b098593406522e0da8cea6c9
|
|
| MD5 |
52d325c1600f4ae84e4158ca9fe8b19e
|
|
| BLAKE2b-256 |
ea68df3a1d19f3c2fa1e06485e962c458c622d721084eb2e366877c589e02b9d
|
Provenance
The following attestation bundles were made for markitdown_cosense-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on kazu728/markitdown-cosense
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
markitdown_cosense-0.2.0-py3-none-any.whl -
Subject digest:
9245cbf599edcfad69f4cac9402c4e6aac4835c9b098593406522e0da8cea6c9 - Sigstore transparency entry: 583788199
- Sigstore integration time:
-
Permalink:
kazu728/markitdown-cosense@7bce8256f1a87151db6bbc80eaa44e1173c46d6e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/kazu728
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7bce8256f1a87151db6bbc80eaa44e1173c46d6e -
Trigger Event:
release
-
Statement type: