360 Secure SkillHub
360 安全技能中心

Cn Markdown To Html

核心功能:支持转换H1-H3标题、粗斜体文本、链接、行内及块级代码,生成完整HTML文档。典型场景:将Markdown格式的文档、笔记转为网页文件。输入为Markdown文件,通过Python脚本执行转换,输出带格式的完整HTML,无需外部依赖与API密钥。

freedompixels
freedompixels
热度 45.68
最近更新 2026-06-07 10:30:37
分类:效率依赖:代码执行 / 读写文件应用场景:文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cn-markdown-to-html
Metadata
slug
cn-markdown-to-html
name
Markdown to HTML
version
1.0.0
description
Convert Markdown to HTML with basic styling. Support headers, bold, italic, links, code blocks. Pure Python standard library, no API key required.
keywords
markdown, html, convert, converter
license
MIT-0
tags
["tools"]

Markdown to HTML

Convert Markdown files to HTML.

Features

  • Convert headers (H1, H2, H3)
  • Format bold and italic text
  • Convert links
  • Format inline and block code
  • Generate complete HTML document
  • Pure Python, no external dependencies

Supported Markdown Elements

Markdown HTML
# Header
## Header
### Header
bold bold
italic italic
code code
text text

Usage

python3 scripts/md_to_html.py --file readme.md

Example

Input (readme.md):

# My Project

This is **bold** and *italic* text.

[Visit example.com](https://example.com)

Output: Complete HTML document with proper formatting.


出品: AISoBrand|爱索品牌 — AI搜索优化工具
官网: https://aisobrand.com
免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果