Skip to content

PythonでマークダウンをHTMLへ変換するCLIツールをつくってみる

License

Notifications You must be signed in to change notification settings

a-pompom/Python-markdownParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

概要

ブログの記事をいい感じに表示するために、Pythonでマークダウンパーサをつくりました。

サンプル

HTMLの各タグにはCSSのクラス名を指定することができ、デフォルトではtailwindcssで下図のようなスタイルが適用されます。

image

usage

# install pipenv
pipenv install git+https://github.com/a-pompom/Python-markdownParser.git#egg=a_pompom_markdown_parser

# parse-cli
a_pompom_markdown_parser <in_file_path> <out_file_path>
# parse-string
a_pompom_markdown_parser <markdown_string>

About

PythonでマークダウンをHTMLへ変換するCLIツールをつくってみる

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages