#markdown-text #markdown #text-file #text #markdown-converter #txt-file #md

app txt_to_md

将txt文件转换为markdown文件的命令

2 个版本

0.1.1 2023年12月11日
0.1.0 2023年12月11日

#6#txt-file

MIT 协议

8KB
91

txt_to_md

此仓库是从txt文件转换为markdown文件的转换器。

开始使用

  • 安装
cargo install txt_to_md
  • 准备text.txt
## a
### bb

ccc
ddd
eee
fff

ggg
hhh
iii
jjj
  • 运行
txt_to_md -i text.txt -o output.md
  • output.md
## a
### bb

- ccc
  - ddd
  - eee
  - fff
- ggg
  - hhh
  - iii
  - jjj

选项

  • 查看以下命令
txt_to_md -h
  • 如果使用is_plane_text选项,则输出示例

## a
### bb


- ccc

ddd
eee
fff

- ggg

hhh
iii
jjj

历史记录

  • 0.1.1
    • 修复README
  • 0.1.0
    • 发布第一个原型

依赖项

~3–11MB
~114K SLoC