Markdown to html
Skill baserproject/baser-skills/.agents/skills/markdown-to-html
Convert Markdown text or .md files into HTML fragments or full HTML documents. Use when the user asks to transform Markdown into HTML, preserve headings/lists/links/code blocks, or generate browser-ready HTML from Markdown. 日本語で「マークダウンをHTMLに変換して」と頼まれたときにも使う。From its SKILL.md
npx -y skills add baserproject/baser-skills --skill markdown-to-htmlAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.9 KB, 550 tokens by cl100k_base, as published. Nobody here has run it
Markdown to HTML
Markdown を HTML に変換するためのスキル。
When to use
- ユーザーが Markdown を HTML に変換したい
.mdファイルから HTML ファイルを作りたい- 本文だけの HTML 断片、またはブラウザで開ける完全な HTML 文書が必要
Workflow
- 入力がファイルなら中身を確認する。文字列ならそのまま扱う。
- 変換は
scripts/md_to_html.pyを優先して使う。 - デフォルトでは完全な HTML 文書を出力する。
- HTML 断片が必要な場合は
--fragmentを付ける。 - タイトル指定があれば
--titleを使う。なければ入力ファイル名か既定値を使う。 - 出力後に見出し、箇条書き、コードブロック、リンクが崩れていないか軽く確認する。
Commands
ファイルを HTML 文書へ変換:
python3 scripts/md_to_html.py input.md -o output.html --title "Document Title"
標準入力から HTML 断片を生成:
printf '# Hello\n\n- one\n- two\n' | python3 scripts/md_to_html.py --stdin --fragment
Notes
- 外部ライブラリなしで動く軽量実装。
- 対応する主な記法: 見出し、段落、箇条書き、番号付きリスト、引用、コードフェンス、インラインコード、強調、リンク、画像、水平線、Markdown テーブル。
- 複雑な Markdown 拡張記法や厳密な CommonMark 完全互換が必要な場合は、その制約をユーザーに共有したうえで対応範囲を明示する。
What ships with it: 2 files
8.9 KB alongside SKILL.md, 1 of them executable
agents/
- openai.yaml270 B
scripts/
- md_to_html.pyruns8.6 KB