5 releases
| 0.2.0 | Aug 26, 2025 |
|---|---|
| 0.1.3 | Aug 26, 2025 |
| 0.1.2 | Aug 1, 2025 |
| 0.1.1 | Dec 11, 2023 |
| 0.1.0 | Dec 11, 2023 |
#218 in Text processing
171 downloads per month
9KB
170 lines
txt_to_md
This repository txt_to_md is the convert CLI from txt files to markdown file.
Get started
Install
cargo install txt_to_md
Run
- Run
txt_to_md "
ccc
ddd
eee
fff
ggg
hhh
iii
jjj
"
Run and make file
- Prepare text.txt
## a
### bb
ccc
ddd
eee
fff
ggg
hhh
iii
jjj
- kkk
- lll
- mmm
- Run
txt_to_md -i text.txt -o output.md
- See output.md
## a
### bb
- ccc
- ddd
- eee
- fff
- ggg
- hhh
- iii
- jjj
- kkk
- lll
- mmm
Option
- See by below command
txt_to_md -h
- Output example if is_plane_text option uses
## a
### bb
- ccc
ddd
eee
fff
- ggg
hhh
iii
jjj
- kkk
- lll
- mmm
- Local use
cargo run --release --bin txt_to_md -- -i in.txt
History
- 0.2.0
- Fix empty lines and release as newer version
- 0.1.3
- Refactoring
- 0.1.2
- Add handling with mixed both markdown and raw text
- Updated README
- 0.1.1
- Updated README
- 0.1.0
- Release first prototype
Dependencies
~1.4–2.2MB
~42K SLoC