Originally a rewrite of a script I created to convert text for me from "Bulletpoint Format" to "Full Text".
Now able to copy "bulletpoint format" and paste "full text" with styling included directly into Libre Office Writer.
- Requires: xclip
- Can be installed with "sudo pacman -S xclip" on arch.
- Requires: nothing (can run out of the box)
- Requires: ?
- Untested. Most likely doesn't work.
To build during development, run:
cargo build
If it doesn't work, try:
cargo update
Note: "test_convert_to_html_incomplete_formatting" will fail until program can handle incomplete italic and bold correctly. Should show 1 failed.
cargo test
Longer build time, but more optimized and smaller executable.
cargo run --release
* 1st line.
* Still 1st line. *italic text*,
* and some more text.
* Here's the 2nd line. **BOLD**
* Here's the 3rd line.
*
* 4th line is empty, so this is the 5th line.
1st line. Still 1st line. *italic text*, and some more text.
Here's the 2nd line. **BOLD**
Here's the 3rd line.
4th line is empty, so this is the 5th line.
- To make it easier to make changes, real coding languages are easier for me than trying to do logic in scripts.
- To learn Rust.