https://github.com/john-paul-r/markdown-gen-rust
A collection of CLI tools for generating markdown from my own markup, written in rust
https://github.com/john-paul-r/markdown-gen-rust
Last synced: 13 days ago
JSON representation
A collection of CLI tools for generating markdown from my own markup, written in rust
- Host: GitHub
- URL: https://github.com/john-paul-r/markdown-gen-rust
- Owner: John-Paul-R
- Created: 2022-05-28T02:15:59.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-28T20:48:28.000Z (over 3 years ago)
- Last Synced: 2025-07-28T14:55:10.503Z (9 months ago)
- Language: Rust
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# markdown-gen-rust
A collection of CLI tools for generating markdown from my own markup, written in rust
## example usage
File: `./listOfCities.md`
```markdown
[List of Cities]!code.json{{
[
"New York",
"Beijing",
"Paris",
"Buenos Aires"
]
}}
```
Usage:
```bash
cat ./listOfCities.md | markdown-gen-rust
```
Output:
````
List of Cities
```json
[
"New York",
"Beijing",
"Paris",
"Buenos Aires"
]
```
````
---
This project is in large part a way for me to learn rust. Be warned: bad code ahead!