
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
HTML to Markdown (MD) converter written in Rust.
A kind of text manipulator named mdka. "ka" means "化 (か)" pointing to conversion.
Bindings for Python are supported. Python scripts can import this Rust library to use the functions.
$ pip install mdka
awesome.py
from mdka import md_from_html
print(md_from_html("<p>Hello, world.</p>"))
# Hello, world.
#
position | name / description |
---|---|
1 | html_text |
String
(None)
from mdka import md_from_file
print(md_from_file("tests/fixtures/simple-01.html"))
# Hello, world.
#
position | name / description |
---|---|
1 | html_filepath |
String
File I/O
from mdka import md_from_html_to_file
md_from_html_to_file("<p>Hello, world.</p>", "tests/tmp/out.md", False)
position | name / description |
---|---|
1 | html_text |
2 | markdown_filepath |
3 | overwrites : Overwrite if Markdown file exists. |
(None)
File I/O
from mdka import md_from_file_to_file
md_from_file_to_file("tests/fixtures/simple-01.html", "tests/tmp/out.md", False)
position | name / description |
---|---|
1 | html_filepath |
2 | markdown_filepath |
3 | overwrites : Overwrite if Markdown file exists. |
(None)
File I/O
FAQs
HTML to Markdown converter
We found that mdka demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.